summaryrefslogtreecommitdiff
path: root/contrib/mkimage-busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mkimage-busybox.sh')
-rwxr-xr-xcontrib/mkimage-busybox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mkimage-busybox.sh b/contrib/mkimage-busybox.sh
index cbaa567834..b11a6bb265 100755
--- a/contrib/mkimage-busybox.sh
+++ b/contrib/mkimage-busybox.sh
@@ -14,7 +14,7 @@ BUSYBOX=$(which busybox)
}
set -e
-ROOTFS=/tmp/rootfs-busybox-$$-$RANDOM
+ROOTFS=${TMPDIR:-/var/tmp}/rootfs-busybox-$$-$RANDOM
mkdir $ROOTFS
cd $ROOTFS