diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-15 09:14:23 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-15 09:14:23 +0000 |
commit | b6a9a1a3c8b98077cce47d579069c42080d17da5 (patch) | |
tree | 56301493a28e098de840c21b6d7e2776dd5574a1 /subr/ex_pkg_exec.subr | |
parent | 3e295f4e81f867fbd8b6c9c306bc1ca124e41d8b (diff) | |
download | midipix_build-b6a9a1a3c8b98077cce47d579069c42080d17da5.tar.bz2 midipix_build-b6a9a1a3c8b98077cce47d579069c42080d17da5.tar.xz |
General cleanup.
Diffstat (limited to 'subr/ex_pkg_exec.subr')
-rw-r--r-- | subr/ex_pkg_exec.subr | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/subr/ex_pkg_exec.subr b/subr/ex_pkg_exec.subr index fb0cfa02..4519ce25 100644 --- a/subr/ex_pkg_exec.subr +++ b/subr/ex_pkg_exec.subr @@ -88,12 +88,6 @@ exp_pkg_exec_step() { ex_pkg_exec() { local _dispatch_fn="${1}" _group_name="${2}" _pkg_name="${3}" _restart_at="${4}" \ _rc=0 _step="" _step_next=""; - trap "if [ \${?} -eq 0 ]; then \ - echo \"done ${_group_name} ${_pkg_name}\" >&3; \ - else \ - echo \"fail ${_group_name} ${_pkg_name}\" >&3; \ - pkill -U "${$}"; \ - fi;" EXIT HUP INT TERM USR1 USR2; if exp_pkg_exec_pre "${_group_name}" "${_pkg_name}" "${_restart_at}"\ && "${_dispatch_fn}" start_pkg_child "${_group_name}" "${_pkg_name}"; then if rtl_test_cmd "pkg_${_pkg_name}_all"; then @@ -112,7 +106,7 @@ ex_pkg_exec() { elif ! exp_pkg_exec_step "${_group_name}" "${_pkg_name}" "${_restart_at}" "${_step}"; then _rc=1; break; else - echo "step ${_group_name} ${_pkg_name} ${_step}" >&3; + printf "step %s %s %s\n" "${_group_name}" "${_pkg_name}" "${_step}" >&3; ex_pkg_state_set "${_pkg_name}" "${_step}" "${_step_next:+-${_step_next}}"; fi; done; |