diff options
author | sjg <sjg@FreeBSD.org> | 2015-11-08 23:46:05 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-11-08 23:46:05 +0000 |
commit | 06c1e96aacb49eece1b1d59d939c73d985a811b5 (patch) | |
tree | 9f0b4c3d10e6e17fa5f8f2cd739572517b545f87 /release | |
parent | 864d6934445b9aad2b30276bb58c064ba329385e (diff) | |
download | FreeBSD-src-06c1e96aacb49eece1b1d59d939c73d985a811b5.zip FreeBSD-src-06c1e96aacb49eece1b1d59d939c73d985a811b5.tar.gz |
Ensure TEMPROOT is unique, to guard against multiple builds on same machine.
Differential Revision: D3002
Reviewed by: gjb
Diffstat (limited to 'release')
-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 ef97102..4499c10 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 # |