From 920f043701fa01cb603cc27c7e00617631df8474 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Dec 03 2017 20:52:46 +0000 Subject: build.sh: ensure that set -o errexit is not inhibited during ex_pkg_dispatch() and children {call,shell}s. --- diff --git a/build.sh b/build.sh index 21672f9..a795061 100755 --- a/build.sh +++ b/build.sh @@ -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;