diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2017-11-23 14:57:50 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-11-23 22:07:34 +0000 |
commit | 3cd23e4e73f997510df1b41c4cb8a17db14faca5 (patch) | |
tree | 1761140bef6908ea67b62f4335e0fccb17e09301 /scripts | |
parent | d05fb3624e57051a2403827d4b685c7bd85ace35 (diff) |
aglsetup: exit with error if fragment script fails
Bug-AGL: SPEC-1002
Change-Id: I93407ca24c67b6b7c4e9aa09325fbf78d01f1c64
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12111
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/.aglsetup_genconfig.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/.aglsetup_genconfig.bash b/scripts/.aglsetup_genconfig.bash index 48af0fbe6..d4f3ba813 100755 --- a/scripts/.aglsetup_genconfig.bash +++ b/scripts/.aglsetup_genconfig.bash @@ -213,7 +213,7 @@ function append_fragment() { function execute_setup() { script=$1 debug "Executing script $script" - opts= + opts="-e" [[ $DEBUG == 1 ]] && opts="$opts -x" pushd $BUILDDIR &>/dev/null $BASH $opts $script \ |