diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-11-08 23:46:05 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-11-08 23:46:05 +0000 |
commit | 3fc96607911db0a09f449ad1e0c08524503806c3 (patch) | |
tree | 9f0b4c3d10e6e17fa5f8f2cd739572517b545f87 /release/scripts | |
parent | 55dbdc2140cf9d29d8a89e12ce9f6d4431a6b534 (diff) | |
download | src-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-x | release/scripts/mm-mtree.sh | 2 |
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 # |