summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-20 15:18:20 +0000
committerJim Meyering <jim@meyering.net>2002-07-20 15:18:20 +0000
commit3f6c422f1ad7fe7935e4843461f5dd44d3576ade (patch)
treeae88558690aca4c5950ec8c7ca812d58c04ee2bc
parentad7e8724718845fb5a54b1963980aee7e2c43470 (diff)
downloadcoreutils-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.am2
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 $@