summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-04-25 07:52:31 +0200
committerJim Meyering <meyering@redhat.com>2009-04-25 08:35:53 +0200
commit6debf54e612b8da176f96c5b4efb043d19ef0276 (patch)
tree4eb75f4e6f30f7c9b9f4e6a1fedd6598c836e76c /src
parentc86509d86e3e65c9e3342400b343c13bad0ff2f2 (diff)
downloadcoreutils-6debf54e612b8da176f96c5b4efb043d19ef0276.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1997573f0..a8b91203c 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.