[pacman-dev] [PATCH] makepkg: Use LOGDEST for logpipe
Allan McRae
allan at archlinux.org
Sat May 18 09:14:43 EDT 2013
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 at archlinux.org>
---
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
More information about the pacman-dev
mailing list