diff --git a/common/chroot-style/proot.sh b/common/chroot-style/proot.sh index f13a373c045..eb61e4ae554 100755 --- a/common/chroot-style/proot.sh +++ b/common/chroot-style/proot.sh @@ -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 \