diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-04-09 21:43:54 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-04-09 21:43:54 +0100 |
commit | 8cae5b9f43c812b0a73f9a298beb957790f69873 (patch) | |
tree | 0f98de861ce2ad31fb289c01cba6164fbb60bd6b | |
parent | 0a3032f236e906eb6da783ccc3e7361bc3d9eeb6 (diff) | |
download | midipix_build-8cae5b9f43c812b0a73f9a298beb957790f69873.tar.bz2 midipix_build-8cae5b9f43c812b0a73f9a298beb957790f69873.tar.xz |
build.sh:buildp_ast(): remove ${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME} at last opportunity.
-rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,9 +7,6 @@ buildp_ast() { if [ "${_param}" = "abort" ]; then rtl_log_msg fatalexit "Build aborted."; fi; - if [ -n "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}" ]; then - rtl_fileop rm "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}"; - fi; while [ "${_pids_niter}" -lt 8 ]; do _pids="$(rtl_lconcat "${_pids}" "${RTL_KILL_TREE_PIDS}")"; RTL_KILL_TREE_PIDS=""; if ! rtl_kill_tree "${$}" "TERM"\ @@ -28,6 +25,9 @@ buildp_ast() { done; rtl_log_msg notice "Reset package state for: %s" "${EX_PKG_DISPATCH_WAIT}"; fi; + if [ -n "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}" ]; then + rtl_fileop rm "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}"; + fi; }; buildp_dispatch_fail_pkg() { |