aboutsummaryrefslogtreecommitdiff
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
parent55dbdc2140cf9d29d8a89e12ce9f6d4431a6b534 (diff)
downloadsrc-3fc96607911db0a09f449ad1e0c08524503806c3.tar.gz
src-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
-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 ef971027d456..4499c1076343 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
#