From: Ralf Wildenhues Date: Sat, 25 Apr 2009 05:52:31 +0000 (+0200) Subject: tests: fix check-AUTHORS skip logic X-Git-Tag: v7.3~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6debf54e612b8da176f96c5b4efb043d19ef0276;p=thirdparty%2Fcoreutils.git tests: fix check-AUTHORS skip logic * src/Makefile.am (check-AUTHORS): When this test is skipped, be sure to avoid all commands in the recipe, not just those passed to the first shell. --- diff --git a/src/Makefile.am b/src/Makefile.am index 1997573f07..a8b91203c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -411,9 +411,9 @@ check-AUTHORS: $(all_programs) | perl -0 -pi -e 's/,\n/, /gm' \ | sed -n -e '/Written by /{ s//'"$$i"': /;' \ -e 's/,* and /, /; s/\.$$//; p; }'; \ - done > $(au_actual) - @sed -n '/^[^ ][^ ]*:/p' $(top_srcdir)/AUTHORS > $(au_dotdot) - @diff $(au_actual) $(au_dotdot) && rm -f $(au_actual) $(au_dotdot) + done > $(au_actual) && \ + sed -n '/^[^ ][^ ]*:/p' $(top_srcdir)/AUTHORS > $(au_dotdot) && \ + diff $(au_actual) $(au_dotdot) && rm -f $(au_actual) $(au_dotdot) # The following rule is not designed to be portable, # and relies on tools that not everyone has.