projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad7e872
)
(false.c): Convert only the final EXIT_SUCCESS
author
Jim Meyering
<jim@meyering.net>
Sat, 20 Jul 2002 15:18:20 +0000
(15:18 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 20 Jul 2002 15:18:20 +0000
(15:18 +0000)
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
beeb8d7
..
638051b
100644
(file)
--- 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 $@