Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 37269 for trunk/base/src

Show
Ignore:
Timestamp:
06/01/08 16:34:43 (6 months ago)
Author:
raimue@…
Message:

port/port.tcl:
Output an empty field instead of nothing in port info if the requested
field is not specified for the port. This makes is easier to parse the output,
if needed.

Files:
1 modified

Legend:

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

    r37268 r37269  
    13551355                    puts stderr "no info for '$opt'" 
    13561356                } 
    1357                 continue 
     1357                set inf "" 
     1358            } else { 
     1359                set inf $portinfo($ropt) 
    13581360            } 
    13591361             
     
    13651367             
    13661368            # Format the data 
    1367             set inf $portinfo($ropt) 
    13681369            if { $ropt eq "maintainers" } { 
    13691370                set inf [unobscure_maintainers $inf]