diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 20:52:46 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 20:52:46 +0000 |
commit | 920f043701fa01cb603cc27c7e00617631df8474 (patch) | |
tree | 6ebccd28f2d797498ca3c90825c6de4f778643b9 | |
parent | 0ddc1e323bdcfb9c3bc544327e480da8e4a74a85 (diff) | |
download | midipix_build-920f043701fa01cb603cc27c7e00617631df8474.tar.bz2 midipix_build-920f043701fa01cb603cc27c7e00617631df8474.tar.xz |
build.sh: ensure that set -o errexit is not inhibited during ex_pkg_dispatch() and children {call,shell}s.
-rwxr-xr-x | build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,9 +14,10 @@ buildp_dispatch() { for _build_tgt_meta in ${BUILD_TARGETS_META:-world}; do for _build_tgt_lc in $(ex_rtl_get_var_unsafe \ "$(ex_rtl_toupper "${_build_tgt_meta}")_TARGET"); do - if ! ex_pkg_dispatch "${_build_tgt_lc}" \ + ex_pkg_dispatch "${_build_tgt_lc}" \ "${ARG_RESTART}" "${ARG_RESTART_AT}" \ - buildp_dispatch; then + buildp_dispatch; + if [ ${?} -ne 0 ]; then break; fi; done; |