[82767] trunk/base/src/registry2.0/portimage.tcl
jmr at macports.org
jmr at macports.org
Fri Aug 19 16:49:07 PDT 2011
Revision: 82767
http://trac.macports.org/changeset/82767
Author: jmr at macports.org
Date: 2011-08-19 16:49:06 -0700 (Fri, 19 Aug 2011)
Log Message:
-----------
use a temp dir inside ${prefix} when extracting, as /tmp or /var/folders/blah may be on a different volume
Modified Paths:
--------------
trunk/base/src/registry2.0/portimage.tcl
Modified: trunk/base/src/registry2.0/portimage.tcl
===================================================================
--- trunk/base/src/registry2.0/portimage.tcl 2011-08-19 23:32:58 UTC (rev 82766)
+++ trunk/base/src/registry2.0/portimage.tcl 2011-08-19 23:49:06 UTC (rev 82767)
@@ -289,7 +289,8 @@
# extract an archive to a temporary location
# returns: path to the extracted directory
proc extract_archive_to_tmpdir {location} {
- set extractdir [mkdtemp [file join [macports::gettmpdir] mpextractXXXXXXXX]]
+ global macports::registry.path
+ set extractdir [mkdtemp [file dirname $location]/mpextractXXXXXXXX]
set startpwd [pwd]
try {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110819/c49ecee4/attachment.html>
More information about the macports-changes
mailing list