forked from kiss-community/kiss
kiss: fix cache sometimes not clearing.
This commit is contained in:
parent
0d5397ebcd
commit
63afbb05a1
3
kiss
3
kiss
@ -924,6 +924,9 @@ pkg_clean() {
|
|||||||
# to the build.
|
# to the build.
|
||||||
[ "$KISS_DEBUG" = 1 ] && return
|
[ "$KISS_DEBUG" = 1 ] && return
|
||||||
|
|
||||||
|
# Block 'Ctrl+C' while cache is being cleaned.
|
||||||
|
trap '' INT
|
||||||
|
|
||||||
# Remove temporary directories.
|
# Remove temporary directories.
|
||||||
rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir"
|
rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user