mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
scripts: fix catching build failures, the proper way, now
Serves me for pushing too fast... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
5f54193297
commit
4f5fca1947
@ -599,7 +599,7 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then
|
|||||||
# POSIX 1003.1-2008 does not say if "set -e" should catch a
|
# POSIX 1003.1-2008 does not say if "set -e" should catch a
|
||||||
# sub-shell ending with !0. bash-3 does not, while bash-4 does,
|
# sub-shell ending with !0. bash-3 does not, while bash-4 does,
|
||||||
# so the following line is for bash-3; bash-4 would choke above.
|
# so the following line is for bash-3; bash-4 would choke above.
|
||||||
[ $? -ne 0 ]
|
[ $? -eq 0 ]
|
||||||
if [ "${CT_STOP}" = "${step}" ]; then
|
if [ "${CT_STOP}" = "${step}" ]; then
|
||||||
do_stop=1
|
do_stop=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user