commit 63afbb05a1da0f4336dedd1f79c0cedfed978b51
parent 0d5397ebcdc611a413d43203578beb0b9b953949
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 28 Aug 2019 17:43:19 +0000
kiss: fix cache sometimes not clearing.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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"
}