* Makefile.maint (patch-check): Fix shell quoting.
authorJim Meyering <jim@meyering.net>
Thu, 21 Dec 2006 10:05:16 +0000 (11:05 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 21 Dec 2006 10:05:16 +0000 (11:05 +0100)
ChangeLog
Makefile.maint

index 67aff09..e9c84ce 100644 (file)
--- 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.
index 112ce18..893b9ad 100644 (file)
@@ -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,