summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8cc40fb..108cdcc6 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,7 @@ endef
define SH
$(if $(VERBOSE), \
$(1), \
- $(V)cmd='$(1)' ; \
+ $(V)cmd='$(subst ','\'',$(1))' ; \
if ! eval "$$cmd" ; then \
printf "make: failing command:\n%s\n" "$$cmd"; \
exit 1; \