summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-20 07:20:22 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-20 07:20:22 +0100
commit0d65f351b68d1314258c7fc0d47ff23f74aa1c28 (patch)
treee5c7f0827a603600ae64218dcd87d5da92ca6c8e
parent344d838c3868eb352837c54a6233dedbe0e07e73 (diff)
downloadmidipix_build-0d65f351b68d1314258c7fc0d47ff23f74aa1c28.tar.bz2
midipix_build-0d65f351b68d1314258c7fc0d47ff23f74aa1c28.tar.xz
subr.ex/ex_pkg_dispatch.subr:exp_pkg_dispatch_group(): abort on failure and no -R.
-rw-r--r--subr.ex/ex_pkg_dispatch.subr5
1 files changed, 5 insertions, 0 deletions
diff --git a/subr.ex/ex_pkg_dispatch.subr b/subr.ex/ex_pkg_dispatch.subr
index 217bd360..be743593 100644
--- a/subr.ex/ex_pkg_dispatch.subr
+++ b/subr.ex/ex_pkg_dispatch.subr
@@ -164,6 +164,11 @@ exp_pkg_dispatch_group() {
"${_epdg_dispatch_fn}" \
fail_pkg ${_epdg_pipe_msg#fail } \
"${_epdg_dispatch_count_max}";
+
+ if [ "${_epdg_rc}" -ne 0 ]\
+ && [ "${_epdg_continue_on_failfl}" -ne 1 ]; then
+ break;
+ fi;
;;
msg_pkg)