Changeset 37511


Ignore:
Timestamp:
Jun 10, 2008, 3:22:12 PM (12 years ago)
Author:
raimue@…
Message:

port1.0/portutil.tcl:
Switch back to this format:
name {description}
So this could be easily extended if ever needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/variant-descs-14482/base/src/port1.0/portutil.tcl

    r37509 r37511  
    569569            while {[gets $fd line] >= 0} {
    570570                incr lineno
    571                 if {[regexp {^(\w+)([ \t]+(.*))?$} $line match option ignore val] == 1} {
    572                     set variant_descs_global(${sourceconfigdir}_$option) $val
     571                set name [lindex $line 0]
     572                set desc [lindex $line 1]
     573                if {$name != "" && $desc != ""} {
     574                    set variant_descs_global(${sourceconfigdir}_$name) $desc
    573575                } else {
    574576                    ui_warn "Invalid variant description in $descfile at line $lineno"
Note: See TracChangeset for help on using the changeset viewer.