common/chroot-style/proot.sh: put result file to /tmp

This commit is contained in:
Enno Boland 2015-04-12 03:13:30 +02:00
parent 8dcf794352
commit 29c210185b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
fi
# proot does not properly return the resultcode. Workaround this
RESULT=$(mktemp result.XXXXXXXXXX)
RESULT=$(mktemp /tmp/proot_result.XXXXXXXXXX)
proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \