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
@ -1463,7 +1463,7 @@ run_function() {
|
||||
fi
|
||||
|
||||
# ensure overridden package variables survive tee with split packages
|
||||
logpipe=$(mktemp -u "$startdir/logpipe.XXXXXXXX")
|
||||
logpipe=$(mktemp -u "$LOGDEST/logpipe.XXXXXXXX")
|
||||
mkfifo "$logpipe"
|
||||
tee "$BUILDLOG" < "$logpipe" &
|
||||
local teepid=$!
|
||||
|
Loading…
Reference in New Issue
Block a user