summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-12-21 11:05:16 +0100
committerJim Meyering <jim@meyering.net>2006-12-21 11:05:16 +0100
commita828a78563e57d447784abcd260ff2bc7c215f10 (patch)
tree59acc2882d2de3cabfb71d80b1685b549c27fe0a
parent2d4cd377583fc8bb3261485dd02a6e8f6735f7e6 (diff)
downloadcoreutils-a828a78563e57d447784abcd260ff2bc7c215f10.tar.xz
* Makefile.maint (patch-check): Fix shell quoting.
-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,