config/global.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 694 1026e9628e59
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>
yann@1
     1
# Overall toolchain configuration: paths, jobs, etc...
yann@1
     2
yann@2040
     3
# Allow unconditional usage of tristates
yann@2040
     4
config MODULES
yann@2040
     5
    bool
yann@2040
     6
    default y
yann@2040
     7
yann@1
     8
menu "Paths and misc options"
yann@1
     9
yann@446
    10
source "config/global/ct-behave.in"
yann@694
    11
source "config/global/paths.in"
yann@693
    12
source "config/global/download.in"
yann@693
    13
source "config/global/extract.in"
yann@446
    14
source "config/global/build-behave.in"
yann@446
    15
source "config/global/logging.in"
yann@1
    16
yann@1
    17
endmenu