xbps-src: cleaned up usage of mktemp(1).
This one was on my TODO for a long while... fixes unportable arguments (checked with the NetBSD's manual page).
This commit is contained in:
parent
ea7a6e858d
commit
f59b295903
9 changed files with 11 additions and 11 deletions
|
@ -18,7 +18,7 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
|
|||
fi
|
||||
|
||||
# proot does not properly return the resultcode. Workaround this
|
||||
RESULT=$(mktemp /tmp/proot_result.XXXXXXXXXX)
|
||||
RESULT=$(mktemp || exit 1)
|
||||
|
||||
PROOT_NO_SECCOMP=1 proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
|
||||
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue