Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 39016 for trunk/base/src

Show
Ignore:
Timestamp:
2008-08-06 00:42:34 (4 months ago)
Author:
afb@…
Message:

work around Leopard Tcl bugs (#16010)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r38506 r39016  
    697697    } else { 
    698698        return -code error "Library directory '$libpath' must exist" 
     699    } 
     700 
     701    # unset environment an extra time, to work around bugs in Leopard Tcl 
     702    foreach envkey [array names env] { 
     703        if {[lsearch $keepenvkeys $envkey] == -1} { 
     704            unsetenv $envkey 
     705        } 
    699706    } 
    700707}