summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-05-18 23:11:41 +1000
committerAllan McRae <allan@archlinux.org>2013-05-18 23:14:21 +1000
commit8335e169a6f38c288db4249c3d272a9ced332580 (patch)
treeaa66b19c21ee420f9c1bee4725783c1802d73ae0 /scripts
parent1ed881fed31952c65f9606df5e265c36221974e9 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2379c5fe..08dcf4ce 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -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=$!