mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
mkspec-wrapper.sh: Write install logs to /tmp/rpmbuild-<username>
Move rpmbuild installation to below /tmp/rpmbuild-<username>, in order to avoid permission clashes. Note that this still produces clashes if multiple packages are built concurrently by the same user. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e8f2bf1afa
commit
ae02a96808
1 changed files with 4 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
MYNAME=`basename $0`
|
||||
ID=`whoami`
|
||||
|
||||
if [ ! "$INSTALL_LOG" ]; then
|
||||
#INSTALL_LOG=/var/tmp/%{name}-buildroot/install.log
|
||||
INSTALL_LOG=/tmp/rpmbuild/install.log
|
||||
INSTALL_LOG=/tmp/rpmbuild-$ID/install.log
|
||||
fi
|
||||
MYNAME=`basename $0`
|
||||
MKSPEC_SH="$1"
|
||||
shift
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue