svn commit: r290565 - head/release/scripts

Simon J. Gerraty sjg at FreeBSD.org
Sun Nov 8 23:46:07 UTC 2015


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
 #


More information about the svn-src-all mailing list