mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 08:00:05 -07:00
kiss: fix random cache errors.
This commit is contained in:
parent
cdbe560117
commit
b1332a309a
3
kiss
3
kiss
@ -1703,6 +1703,7 @@ args() {
|
||||
KISS_CHOICE="$KISS_CHOICE" \
|
||||
KISS_COLOR="$KISS_COLOR" \
|
||||
KISS_TMPDIR="$KISS_TMPDIR" \
|
||||
KISS_PID="$KISS_PID" \
|
||||
"$0" "$action" "$@"
|
||||
return
|
||||
}
|
||||
@ -1863,7 +1864,7 @@ main() {
|
||||
# to each specific KISS instance. This allows multiple package manager
|
||||
# instances to be run at once. Store the value in another variable so
|
||||
# that it doesn't change beneath us.
|
||||
pid=$$
|
||||
pid=${KISS_PID:=$$}
|
||||
|
||||
# Catch errors and ensure that build files and directories are cleaned
|
||||
# up before we die. This occurs on 'Ctrl+C' as well as success and error.
|
||||
|
Loading…
Reference in New Issue
Block a user