Changeset 37512


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

port1.0/portutil.tcl:
Add a warning if global variant description file could not be opened

File:
1 edited

Legend:

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

    r37511 r37512  
    565565
    566566        if {[file exists $descfile]} {
    567             set fd [open $descfile r]
     567            if {[catch {set fd [open $descfile r]} err]} {
     568                ui_warn "Could not open global variant description file: $err"
     569                return ""
     570            }
    568571            set lineno 0
    569572            while {[gets $fd line] >= 0} {
Note: See TracChangeset for help on using the changeset viewer.