aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-28 17:43:18 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-28 17:43:18 +0000
commit50f169728c609427a811a7fbe5acb036e20d3c89 (patch)
tree21933bf152631fadca36922704097e404f371591 /kiss
parent31afae0016655928d68edebb79f2d37e8a8d8074 (diff)
downloadcpt-50f169728c609427a811a7fbe5acb036e20d3c89.tar.gz
kiss: fix cache sometimes not clearing.
FossilOrigin-Name: b61f986d008f4832fb825285d2259939db03cd3e7d0bc608c57e689fd279c7b2
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 3 insertions, 0 deletions
diff --git a/kiss b/kiss
index 6ab1385..fe4c904 100755
--- a/kiss
+++ b/kiss
@@ -924,6 +924,9 @@ pkg_clean() {
# to the build.
[ "$KISS_DEBUG" = 1 ] && return
+ # Block 'Ctrl+C' while cache is being cleaned.
+ trap '' INT
+
# Remove temporary directories.
rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir"
}