From a828a78563e57d447784abcd260ff2bc7c215f10 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 21 Dec 2006 11:05:16 +0100 Subject: * Makefile.maint (patch-check): Fix shell quoting. --- ChangeLog | 4 ++++ Makefile.maint | 4 ++-- 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 + + * 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 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, -- cgit v1.2.3-70-g09d2