chiark
/
gitweb
/
~mdw
/
distorted-chroot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
944cdc8
)
Makefile: Use `squote' when printing variable lists.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 11 Sep 2019 16:52:04 +0000
(17:52 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Sep 2019 01:50:13 +0000
(
02:50
+0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 9dd6e1f73ae0c6610095457d5ff9645b0e7829fa..a3ff7b64c6c0837e8cb3d7cf1031a3b9b1c44c1e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-437,8
+437,8
@@
check::; $(call check-symlink,ERR,/schroot,/run/schroot/mount)
%print-varlist = { \
echo "\#\#\# -*-sh-*- GENERATED by distorted-chroot: do not edit"; \
- $(foreach v,$1, echo $v=\'
'$(subst ','\'\\\'\'',$($v))'
\';) \
-}
#'
+ $(foreach v,$1, echo $v=\'
$(call squote,$($v))
\';) \
+}
schroot-config_HASH := \
$(shell $(call %print-varlist,$(CONFIG_VARS)) | \
sha256sum | cut -c1-32)