Date: Sun, 8 Nov 2015 23:46:05 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290565 - head/release/scripts Message-ID: <201511082346.tA8Nk5Dv048388@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511082346.tA8Nk5Dv048388>