Changeset 38038 for trunk/base/src
- Timestamp:
- 07/03/08 21:30:56 (5 months ago)
- Files:
-
- 1 modified
-
trunk/base/src/port1.0/portextract.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portextract.tcl
r36708 r38038 93 93 94 94 proc extract_main {args} { 95 global UI_PREFIX 95 global UI_PREFIX filespath 96 96 97 97 if {![exists distfiles] && ![exists extract.only]} { … … 102 102 foreach distfile [option extract.only] { 103 103 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 } 105 109 if {[catch {command_exec extract} result]} { 106 110 return -code error "$result"

