If LOGDEST is set, we may not check that $startdir is writable. Store
the log pipe in LOGDEST instead.

Signed-off-by: Allan McRae <[email protected]>
---

For maint.

 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index c311c30..9f7707c 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=$!
-- 
1.8.2.3


Reply via email to