From 3fc96607911db0a09f449ad1e0c08524503806c3 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 8 Nov 2015 23:46:05 +0000 Subject: Ensure TEMPROOT is unique, to guard against multiple builds on same machine. Differential Revision: D3002 Reviewed by: gjb --- release/scripts/mm-mtree.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/mm-mtree.sh') 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 # -- cgit v1.2.3