summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-09 21:43:54 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-09 21:43:54 +0100
commit8cae5b9f43c812b0a73f9a298beb957790f69873 (patch)
tree0f98de861ce2ad31fb289c01cba6164fbb60bd6b
parent0a3032f236e906eb6da783ccc3e7361bc3d9eeb6 (diff)
downloadmidipix_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-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 1588b279..eadd41ac 100755
--- a/build.sh
+++ b/build.sh
@@ -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() {