diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-20 15:18:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-20 15:18:20 +0000 |
commit | 3f6c422f1ad7fe7935e4843461f5dd44d3576ade (patch) | |
tree | ae88558690aca4c5950ec8c7ca812d58c04ee2bc | |
parent | ad7e8724718845fb5a54b1963980aee7e2c43470 (diff) | |
download | coreutils-3f6c422f1ad7fe7935e4843461f5dd44d3576ade.tar.xz |
(false.c): Convert only the final EXIT_SUCCESS
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index beeb8d7e5..638051b48 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 $@ |