ensure failing if manifest or gencode break

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-17 16:26:48 +01:00
commit ff41ce0318
5 changed files with 25 additions and 16 deletions

View file

@ -56,7 +56,12 @@ eof
# Catch errors ourself now
set +e
"$gencode"; ret=$?
(
# Ensure manifest fails if something within manifest fails
# And not all manifests need to include set -e themselves
set -e
. "$gencode"
); ret=$?
else
ret=0