scripts/crosstool-NG.sh.in
changeset 2964 d48c03998dc1
parent 2936 2dfea349d307
child 2973 24961ef6af88
     1.1 --- a/scripts/crosstool-NG.sh.in	Tue Jan 03 22:57:25 2012 +0100
     1.2 +++ b/scripts/crosstool-NG.sh.in	Tue May 08 18:31:10 2012 +0200
     1.3 @@ -596,6 +596,10 @@
     1.4          fi
     1.5          if [ ${do_it} -eq 1 ]; then
     1.6              ( do_${step} )
     1.7 +            # POSIX 1003.1-2008 does not say if "set -e" should catch a
     1.8 +            # sub-shell ending with !0. bash-3 does not, while bash-4 does,
     1.9 +            # so the following line is for bash-3; bash-4 would choke above.
    1.10 +            [ $? -ne 0 ]
    1.11              if [ "${CT_STOP}" = "${step}" ]; then
    1.12                  do_stop=1
    1.13              fi