From: Jim Meyering Date: Thu, 21 Dec 2006 10:05:16 +0000 (+0100) Subject: * Makefile.maint (patch-check): Fix shell quoting. X-Git-Tag: COREUTILS-6_8~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a828a78563e57d447784abcd260ff2bc7c215f10;p=thirdparty%2Fcoreutils.git * Makefile.maint (patch-check): Fix shell quoting. --- diff --git a/ChangeLog b/ChangeLog index 67aff09ac4..e9c84ceb8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-21 Jim Meyering + + * Makefile.maint (patch-check): Fix shell quoting. + 2006-12-20 Jim Meyering "rm -rf /etc/motd" (run by non-root) now prints a diagnostic. diff --git a/Makefile.maint b/Makefile.maint index 112ce18d42..893b9ad744 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,