summaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-11-08 23:46:05 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-11-08 23:46:05 +0000
commit3fc96607911db0a09f449ad1e0c08524503806c3 (patch)
tree9f0b4c3d10e6e17fa5f8f2cd739572517b545f87 /release/scripts
parent55dbdc2140cf9d29d8a89e12ce9f6d4431a6b534 (diff)
downloadsrc-test-3fc96607911db0a09f449ad1e0c08524503806c3.tar.gz
src-test-3fc96607911db0a09f449ad1e0c08524503806c3.zip
Ensure TEMPROOT is unique, to guard against multiple builds on same machine.
Differential Revision: D3002 Reviewed by: gjb
Notes
Notes: svn path=/head/; revision=290565
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mm-mtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/mm-mtree.sh b/release/scripts/mm-mtree.sh
index ef971027d4565..4499c1076343f 100755
--- a/release/scripts/mm-mtree.sh
+++ b/release/scripts/mm-mtree.sh
@@ -30,7 +30,7 @@ display_usage () {
# Set the default path for the temporary root environment
#
-TEMPROOT='/var/tmp/temproot'
+TEMPROOT=`TMPDIR=/var/tmp mktemp -d -t temproot`
# Assign the location of the mtree database
#