projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa10457
)
ylwrap: don't uselessly reset the exit status in case of failure
author
Stefano Lattarini
<stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 09:04:42 +0000
(11:04 +0200)
committer
Akim Demaille
<akim@lrde.epita.fr>
Sat, 14 Jul 2012 14:59:33 +0000
(16:59 +0200)
* lib/ylwrap: Here. In case of a failure in the wrapped yacc/lex
invocation, '$ret' (holding the final exit status of ylwrap) was
being uselessly reset to '1' in the later if/else.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/ylwrap
patch
|
blob
|
history
diff --git
a/lib/ylwrap
b/lib/ylwrap
index
49116e5
..
73dba2b
100755
(executable)
--- a/
lib/ylwrap
+++ b/
lib/ylwrap
@@
-221,8
+221,6
@@
if test $ret -eq 0; then
fi
fi
done
-else
- ret=$?
fi
# Remove the directory.