aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/makefile_escaping/escaping_env_vars.mk
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-21 08:56:58 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-21 08:56:58 +0300
commit53561c6a2e81d8da95f695bfa460dc209e3600cb (patch)
tree231db866753b443be3ec63a28789a2381a202223 /makefile_escaping/escaping_env_vars.mk
parentworkflows/makefile_escaping: use ubuntu-latest (diff)
downloadblog-53561c6a2e81d8da95f695bfa460dc209e3600cb.tar.gz
blog-53561c6a2e81d8da95f695bfa460dc209e3600cb.zip
makefile_escaping: consistent prelude
Diffstat (limited to 'makefile_escaping/escaping_env_vars.mk')
-rw-r--r--makefile_escaping/escaping_env_vars.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile_escaping/escaping_env_vars.mk b/makefile_escaping/escaping_env_vars.mk
index e1aeebf..28fc9c6 100644
--- a/makefile_escaping/escaping_env_vars.mk
+++ b/makefile_escaping/escaping_env_vars.mk
@@ -1,9 +1,10 @@
MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables
+unexport MAKEFLAGS
.DEFAULT_GOAL := all
.DELETE_ON_ERROR:
.SUFFIXES:
SHELL := bash
-.SHELLFLAGS := -e -o pipefail -c
+.SHELLFLAGS := -eu -o pipefail -c
escape = $(subst ','\'',$(1))