~mdw
/
distorted-chroot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: Use `squote' when printing variable lists.
[distorted-chroot]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9dd6e1f
..
a3ff7b6
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"; \
%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)
schroot-config_HASH := \
$(shell $(call %print-varlist,$(CONFIG_VARS)) | \
sha256sum | cut -c1-32)