New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81832


Ignore:
Timestamp:
08/05/11 10:47:38 (4 years ago)
Author:
jmr@…
Message:

need to eval the command line after all

File:
1 edited

Legend:

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

    r81831 r81832  
    11851185    set tarflags [get_tar_flags [file extension $fetchfile]] 
    11861186    set qflag ${macports::autoconf::tar_q} 
    1187     set cmdline "$tarcmd ${tarflags}${qflag}xOf '$fetchfile' +CONTENTS" 
     1187    set cmdline "$tarcmd ${tarflags}${qflag}xOf \"$fetchfile\" +CONTENTS" 
    11881188    ui_debug "$cmdline" 
    1189     if {![catch {set contents [exec $cmdline]}]} { 
     1189    if {![catch {set contents [eval exec $cmdline]}]} { 
    11901190        set binary 1 
    11911191        ui_debug "getting port name from binary archive" 
     
    12081208    ui_debug "extracting port archive to [pwd]" 
    12091209    if {$binary} { 
    1210         set cmdline "$tarcmd ${tarflags}${qflag}xOf {$fetchfile} +PORTFILE > Portfile" 
    1211     } else { 
    1212         set cmdline "$tarcmd ${tarflags}xf {$fetchfile}" 
     1210        set cmdline "$tarcmd ${tarflags}${qflag}xOf \"$fetchfile\" +PORTFILE > Portfile" 
     1211    } else { 
     1212        set cmdline "$tarcmd ${tarflags}xf \"$fetchfile\"" 
    12131213    } 
    12141214    ui_debug "$cmdline" 
Note: See TracChangeset for help on using the changeset viewer.