Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 38038 for trunk/base/src

Show
Ignore:
Timestamp:
07/03/08 21:30:56 (5 months ago)
Author:
raimue@…
Message:

port1.0/portextract.tcl:
If the $distfile exists in $filespath, use it from there as it was not fetched
to the distpath in this case.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portextract.tcl

    r36708 r38038  
    9393 
    9494proc extract_main {args} { 
    95     global UI_PREFIX 
     95    global UI_PREFIX filespath 
    9696     
    9797    if {![exists distfiles] && ![exists extract.only]} { 
     
    102102    foreach distfile [option extract.only] { 
    103103        ui_info "$UI_PREFIX [format [msgcat::mc "Extracting %s"] $distfile]" 
    104         option extract.args "[option distpath]/$distfile" 
     104        if {[file exists $filespath/$distfile]} { 
     105                option extract.args "$filespath/$distfile" 
     106        } else { 
     107                option extract.args "[option distpath]/$distfile" 
     108        } 
    105109        if {[catch {command_exec extract} result]} { 
    106110            return -code error "$result"