New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81146


Ignore:
Timestamp:
07/25/11 19:00:49 (4 years ago)
Author:
jmr@…
Message:

move setting of startpwd outside the try block in extract_archive_to_tmpdir, so it will fail with its own error message instead of the finally block failing

File:
1 edited

Legend:

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

    r79864 r81146  
    281281proc extract_archive_to_tmpdir {location} { 
    282282    set extractdir [mkdtemp [file join [macports::gettmpdir] mpextractXXXXXXXX]] 
     283    set startpwd [pwd] 
    283284 
    284285    try { 
    285         set startpwd [pwd] 
    286286        if {[catch {cd $extractdir} err]} { 
    287287            throw MACPORTS $err 
Note: See TracChangeset for help on using the changeset viewer.