commit 10628c4d028e86cb20bc605875bea92118c87cc6
parent ec85962809c854353057b02346fcf9dfa1d3e3aa
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Sun, 8 Sep 2019 12:07:51 +0300
kiss: added KISS_PID to preempt build directory location
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.