aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-08 09:07:50 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-08 09:07:50 +0000
commitb3bdae29f1e58b463546ee79507d87703e709afa (patch)
tree95912df581aa6c6f2c3c613cf45fed68bc250775 /kiss
parent6eca99d21ee74a2ccc35f90d09e0e1c3e12bf63b (diff)
downloadcpt-b3bdae29f1e58b463546ee79507d87703e709afa.tar.gz
kiss: added KISS_PID to preempt build directory location
FossilOrigin-Name: 177fd0059902c18f9eb792443c7ec338ec900558fb2c8181b1743f0bb73a5494
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 095277f..55cc588 100755
--- a/kiss
+++ b/kiss
@@ -1077,7 +1077,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:-$$}
# Store the original value of IFS so we can revert back to it if the
# variable is ever changed.