From 29c210185bd57e6fd6838eadbef098c0573d064d Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sun, 12 Apr 2015 03:13:30 +0200 Subject: [PATCH] common/chroot-style/proot.sh: put result file to /tmp --- common/chroot-style/proot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \