summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 19:08:23 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 19:08:23 +0000
commit0b1fc04597b7c80049f385b2be59471d5fd495dc (patch)
tree4dc2d5b58aab3f320afdc9984eb2018676797a3e /subr
parent19ab706dac37932341aa743c982dd4cca9df4636 (diff)
downloadmidipix_build-0b1fc04597b7c80049f385b2be59471d5fd495dc.tar.bz2
midipix_build-0b1fc04597b7c80049f385b2be59471d5fd495dc.tar.xz
subr/build_init.subr:build_init(): always rm(1) ${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}.
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr2
1 files changed, 2 insertions, 0 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 8049af61..01002eb6 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -60,6 +60,8 @@ build_init() {
trap "rm -f "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}"; \
ex_rtl_log_msg failexit \"Build aborted.\";" \
HUP INT TERM USR1 USR2;
+ trap "rm -f "${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}";" \
+ EXIT;
};
# vim:filetype=sh