makepkg: Use LOGDEST for logpipe
If LOGDEST is set, we may not check that $startdir is writable. Store the log pipe in LOGDEST instead. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
1ed881fed3
commit
8335e169a6
1 changed files with 1 additions and 1 deletions
|
@ -1463,7 +1463,7 @@ run_function() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ensure overridden package variables survive tee with split packages
|
# ensure overridden package variables survive tee with split packages
|
||||||
logpipe=$(mktemp -u "$startdir/logpipe.XXXXXXXX")
|
logpipe=$(mktemp -u "$LOGDEST/logpipe.XXXXXXXX")
|
||||||
mkfifo "$logpipe"
|
mkfifo "$logpipe"
|
||||||
tee "$BUILDLOG" < "$logpipe" &
|
tee "$BUILDLOG" < "$logpipe" &
|
||||||
local teepid=$!
|
local teepid=$!
|
||||||
|
|
Loading…
Add table
Reference in a new issue