Ticket #25246: portextract.tcl.distfiles-with-spaces.diff
File portextract.tcl.distfiles-with-spaces.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
src/port1.0/portextract.tcl
124 124 foreach distfile [option extract.only] { 125 125 ui_info "$UI_PREFIX [format [msgcat::mc "Extracting %s"] $distfile]" 126 126 if {[file exists $filespath/$distfile]} { 127 option extract.args " $filespath/$distfile"127 option extract.args "\\\"$filespath/$distfile\\\"" 128 128 } elseif {![file exists "[option distpath]/$distfile"] && !$usealtworkpath && [file exists "${altprefix}[option distpath]/$distfile"]} { 129 option extract.args " ${altprefix}[option distpath]/$distfile"129 option extract.args "\\\"${altprefix}[option distpath]/$distfile\\\"" 130 130 } else { 131 option extract.args " [option distpath]/$distfile"131 option extract.args "\\\"[option distpath]/$distfile\\\"" 132 132 } 133 133 if {[catch {command_exec extract} result]} { 134 134 return -code error "$result"