config/config.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue May 08 18:31:10 2012 +0200 (2012-05-08)
changeset 2964 d48c03998dc1
parent 2481 30644208c955
child 3313 ad14212ebf54
permissions -rw-r--r--
scripts: fix catching failures

POSIX 1003.1-2008 does not say whether "set -e" should catch a sub-shell
that exits with !0 (it has a list of conditions to catch, but no list of
conditions not to catch, and this situation is not listed).

bash-3 does not catch such a failure, but bash-4 does. That why, on my
Squeeze system I did not see the issue, while Thomas did on is Lenny chroot.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 source "config/configure.in"
     2 source "config/backend.in"
     3 source "config/global.in"
     4 source "config/target.in"
     5 source "config/toolchain.in"
     6 source "config/kernel.in"
     7 source "config/binutils.in"
     8 source "config/cc.in"
     9 source "config/libc.in"
    10 source "config/debug.in"
    11 source "config/companion_libs.in"
    12 source "config/companion_tools.in"
    13 source "config/test_suite.in"