From f7f872c31e152e2d65e16befcc5bbd46c9265297 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 11 Oct 2026 15:13:52 +0200 Subject: [PATCH] mkspec-wrapper.sh: Fix INSTALL_LOG default INSTALL_LOG's default value is composed from a variable that's never set, $ID. That used to work until the same user builds multiple packages concurrently on the same host. Use $PROJECT instead. Signed-off-by: Jan Lindemann --- scripts/mkspec-wrapper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/mkspec-wrapper.sh b/scripts/mkspec-wrapper.sh index aef62db8..0ac92820 100644 --- a/scripts/mkspec-wrapper.sh +++ b/scripts/mkspec-wrapper.sh @@ -80,7 +80,7 @@ done shift os=$(sed '/^ID=/ !d; s/^ID=//; s/"//g' /etc/os-release) -[ ! "$INSTALL_LOG" ] && INSTALL_LOG=/tmp/pkg-build-$ID-$(id -un)-$os/install.log +[ ! "$INSTALL_LOG" ] && INSTALL_LOG=/tmp/pkg-build-$PROJECT-$(id -un)-$os/install.log MKSPEC_SH="$1" shift @@ -132,4 +132,3 @@ export \ DISTRIBUTION bash $MKSPEC_SH -