summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-05-08 21:29:38 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-05-08 21:29:38 (GMT)
commit4f5fca19476cd1dee8a573996450616d24b371a9 (patch)
tree6f8dcfb5b6a467ede50309ce742c4ebfbcd449d1 /scripts/crosstool-NG.sh.in
parent5f54193297d86e404dfad6d36201366ec3510848 (diff)
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>
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r--scripts/crosstool-NG.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 818723f..788faa9 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -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
# 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.
- [ $? -ne 0 ]
+ [ $? -eq 0 ]
if [ "${CT_STOP}" = "${step}" ]; then
do_stop=1
fi