From 920f043701fa01cb603cc27c7e00617631df8474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 3 Dec 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. --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 21672f96..a795061e 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; -- cgit v1.2.3