Changeset 68817


Ignore:
Timestamp:
Jun 14, 2010, 5:03:37 PM (10 years ago)
Author:
jmr@…
Message:

quote distfile path when running extract.cmd (#25246)

File:
1 edited

Legend:

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

    r67089 r68817  
    125125        ui_info "$UI_PREFIX [format [msgcat::mc "Extracting %s"] $distfile]"
    126126        if {[file exists $filespath/$distfile]} {
    127             option extract.args "$filespath/$distfile"
     127            option extract.args "'$filespath/$distfile'"
    128128        } 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'"
    130130        } else {
    131             option extract.args "[option distpath]/$distfile"
     131            option extract.args "'[option distpath]/$distfile'"
    132132        }
    133133        if {[catch {command_exec extract} result]} {
Note: See TracChangeset for help on using the changeset viewer.