kiss: Remove KISS_PID

This was a hack to point the build directory somewhere else.
Proper support for this will be added at a later date.
This commit is contained in:
Dylan Araps 2021-07-02 12:45:52 +00:00
parent 39fa046f73
commit d047729aa8
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 2 deletions

3
kiss
View File

@ -1494,7 +1494,6 @@ args() {
KISS_CHOICE="$KISS_CHOICE" \
KISS_COLOR="$KISS_COLOR" \
KISS_TMPDIR="$KISS_TMPDIR" \
KISS_PID="$KISS_PID" \
"$0" "$action" "$@"
return
}
@ -1669,7 +1668,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=${KISS_PID:-$$}
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.