summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.maint4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 67aff09ac..e9c84ceb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-21 Jim Meyering <jim@meyering.net>
+
+ * Makefile.maint (patch-check): Fix shell quoting.
+
2006-12-20 Jim Meyering <jim@meyering.net>
"rm -rf /etc/motd" (run by non-root) now prints a diagnostic.
diff --git a/Makefile.maint b/Makefile.maint
index 112ce18d4..893b9ad74 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -338,8 +338,8 @@ patch-check:
$(MAKE) -C src-c89 CFLAGS='-Wdeclaration-after-statement -Werror' \
|| msg='compile failure with extra options'; \
rm -rf src-c89 $@.1 $@.2; \
- test $$msg = ok && : || echo "$$msg" 1>&2; \
- test $$msg = ok
+ test "$$msg" = ok && : || echo "$$msg" 1>&2; \
+ test "$$msg" = ok
# Ensure that date's --help output stays in sync with the info
# documentation for GNU strftime. The only exception is %N,