ensure failing if manifest or gencode break
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
f392543d43
commit
ff41ce0318
5 changed files with 25 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue