diff options
Diffstat (limited to 'makefile_escaping/escaping_quotes.mk')
-rw-r--r-- | makefile_escaping/escaping_quotes.mk | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/makefile_escaping/escaping_quotes.mk b/makefile_escaping/escaping_quotes.mk deleted file mode 100644 index f6d7994..0000000 --- a/makefile_escaping/escaping_quotes.mk +++ /dev/null @@ -1,19 +0,0 @@ -MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables -unexport MAKEFLAGS -.DEFAULT_GOAL := all -.DELETE_ON_ERROR: -.SUFFIXES: -SHELL := bash -.SHELLFLAGS := -eu -o pipefail -c - -escape = $(subst ','\'',$(1)) - -test_var := Includes ' quote - -echo_test_var := printf '%s\n' '$(call escape,$(test_var))' -bash_test_var := bash -c '$(call escape,$(echo_test_var))' - -test: - printf '%s\n' '$(call escape,$(test_var))' - bash -c '$(call escape,$(echo_test_var))' - bash -c '$(call escape,$(bash_test_var))' |