From: Jim Meyering Date: Sat, 20 Jul 2002 15:18:20 +0000 (+0000) Subject: (false.c): Convert only the final EXIT_SUCCESS X-Git-Tag: TEXTUTILS-2_0_22~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f6c422f1ad7fe7935e4843461f5dd44d3576ade;p=thirdparty%2Fcoreutils.git (false.c): Convert only the final EXIT_SUCCESS into EXIT_FAILURE. Otherwise, false --help and false --version would fail. --- diff --git a/src/Makefile.am b/src/Makefile.am index beeb8d7e59..638051b481 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -173,6 +173,6 @@ false.c: true.c sed \ -e s/true/false/g \ -e s/success/failure/g \ - -e s/EXIT_SUCCESS/EXIT_FAILURE/g \ + -e 's/^ exit (EXIT_SUCCESS/ exit (EXIT_FAILURE/g' \ $(srcdir)/true.c > $@-t mv $@-t $@