summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 20:52:46 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 20:52:46 +0000
commit920f043701fa01cb603cc27c7e00617631df8474 (patch)
tree6ebccd28f2d797498ca3c90825c6de4f778643b9
parent0ddc1e323bdcfb9c3bc544327e480da8e4a74a85 (diff)
downloadmidipix_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-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
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;