1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

kiss: fix random cache errors.

This commit is contained in:
Dylan Araps 2021-07-15 22:32:12 +03:00
parent cdbe560117
commit b1332a309a
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

3
kiss
View File

@ -1703,6 +1703,7 @@ args() {
KISS_CHOICE="$KISS_CHOICE" \ KISS_CHOICE="$KISS_CHOICE" \
KISS_COLOR="$KISS_COLOR" \ KISS_COLOR="$KISS_COLOR" \
KISS_TMPDIR="$KISS_TMPDIR" \ KISS_TMPDIR="$KISS_TMPDIR" \
KISS_PID="$KISS_PID" \
"$0" "$action" "$@" "$0" "$action" "$@"
return return
} }
@ -1863,7 +1864,7 @@ main() {
# to each specific KISS instance. This allows multiple package manager # to each specific KISS instance. This allows multiple package manager
# instances to be run at once. Store the value in another variable so # instances to be run at once. Store the value in another variable so
# that it doesn't change beneath us. # that it doesn't change beneath us.
pid=$$ pid=${KISS_PID:=$$}
# Catch errors and ensure that build files and directories are cleaned # 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. # up before we die. This occurs on 'Ctrl+C' as well as success and error.