From owner-svn-src-head@freebsd.org Sun Nov 8 23:46:07 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E833A2A832; Sun, 8 Nov 2015 23:46:07 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6F461107; Sun, 8 Nov 2015 23:46:06 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA8Nk5sq048389; Sun, 8 Nov 2015 23:46:05 GMT (envelope-from sjg@FreeBSD.org) Received: (from sjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA8Nk5Dv048388; Sun, 8 Nov 2015 23:46:05 GMT (envelope-from sjg@FreeBSD.org) Message-Id: <201511082346.tA8Nk5Dv048388@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sjg set sender to sjg@FreeBSD.org using -f From: "Simon J. Gerraty" Date: Sun, 8 Nov 2015 23:46:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290565 - head/release/scripts X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 23:46:07 -0000 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 #