Changeset 82767


Ignore:
Timestamp:
Aug 19, 2011, 11:49:06 PM (8 years ago)
Author:
jmr@…
Message:

use a temp dir inside ${prefix} when extracting, as /tmp or /var/folders/blah may be on a different volume

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/registry2.0/portimage.tcl

    r81577 r82767  
    290290# returns: path to the extracted directory
    291291proc extract_archive_to_tmpdir {location} {
    292     set extractdir [mkdtemp [file join [macports::gettmpdir] mpextractXXXXXXXX]]
     292    global macports::registry.path
     293    set extractdir [mkdtemp [file dirname $location]/mpextractXXXXXXXX]
    293294    set startpwd [pwd]
    294295
Note: See TracChangeset for help on using the changeset viewer.