]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* 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 67aff09ac461a02a3d1c4df063fe41bbb4036234..e9c84ceb8a46fe2165c1113be450a61f928e6928 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 112ce18d42830da087e34700417f92bdabd2b941..893b9ad744d7925d9aa4b921f5625c17451d7ceb 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,