kiss: fix cache sometimes not clearing.

This commit is contained in:
Dylan Araps 2019-08-28 17:43:19 +00:00
parent 0d5397ebcd
commit 63afbb05a1
1 changed files with 3 additions and 0 deletions

3
kiss
View File

@ -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"
}