Author: sjg
Date: Sun Nov  8 23:46:05 2015
New Revision: 290565
URL: https://svnweb.freebsd.org/changeset/base/290565

Log:
  Ensure TEMPROOT is unique, to guard against multiple builds on same machine.
  
  Differential Revision:        D3002
  Reviewed by:  gjb

Modified:
  head/release/scripts/mm-mtree.sh

Modified: head/release/scripts/mm-mtree.sh
==============================================================================
--- head/release/scripts/mm-mtree.sh    Sun Nov  8 23:21:54 2015        
(r290564)
+++ head/release/scripts/mm-mtree.sh    Sun Nov  8 23:46:05 2015        
(r290565)
@@ -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
 #
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to