Changeset 38255


Ignore:
Timestamp:
Jul 13, 2008, 10:38:40 PM (11 years ago)
Author:
raimue@…
Message:

port/port.tcl:
Convert list to string to allow additional parameters,
for example port edit --editor 'vim -y'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port/port.tcl

    r38230 r38255  
    23172317                    set editor ""
    23182318                    if {[info exists local_options(ports_edit_editor)]} {
    2319                         set editor $local_options(ports_edit_editor)
     2319                        set editor [join $local_options(ports_edit_editor)]
    23202320                    } elseif {[info exists local_options(ports_ed_editor)]} {
    2321                         set editor $local_options(ports_ed_editor)
     2321                        set editor [join $local_options(ports_ed_editor)]
    23222322                    } else {
    23232323                        foreach ed { VISUAL EDITOR } {
Note: See TracChangeset for help on using the changeset viewer.