mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: potential fix for cache issues. See #218
This commit is contained in:
parent
3e73ce0c2a
commit
e853e1accc
6
kiss
6
kiss
@ -1641,7 +1641,10 @@ pkg_update() {
|
|||||||
|
|
||||||
pkg_clean() {
|
pkg_clean() {
|
||||||
# Clean up on exit or error. This removes everything related to the build.
|
# Clean up on exit or error. This removes everything related to the build.
|
||||||
[ "$KISS_DEBUG" = 1 ] || rm -rf "$tmp_dir"
|
# This only runs inside the top-level KISS process.
|
||||||
|
case ${KISS_DEBUG:-0}-${KISS_LVL:-0} in 0-0)
|
||||||
|
rm -rf "$tmp_dir"
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
args() {
|
args() {
|
||||||
@ -1703,6 +1706,7 @@ args() {
|
|||||||
KISS_COLOR="$KISS_COLOR" \
|
KISS_COLOR="$KISS_COLOR" \
|
||||||
KISS_TMPDIR="$KISS_TMPDIR" \
|
KISS_TMPDIR="$KISS_TMPDIR" \
|
||||||
KISS_PID="$KISS_PID" \
|
KISS_PID="$KISS_PID" \
|
||||||
|
KISS_LVL="$((KISS_LVL + 1))" \
|
||||||
"$0" "$action" "$@"
|
"$0" "$action" "$@"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user