Changeset 92546 for trunk


Ignore:
Timestamp:
May 1, 2012, 4:34:13 AM (7 years ago)
Author:
jmr@…
Message:

handle subports correctly in action_deps and action_log when the porturl is known

File:
1 edited

Legend:

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

    r91557 r92546  
    18411841            }
    18421842            array unset portinfo
    1843             array set portinfo [lindex $result 1]
     1843            set matchindex [lsearch -exact -nocase $result $portname]
     1844            if {$matchindex != -1} {
     1845                array set portinfo [lindex $result [incr matchindex]]
     1846            } else {
     1847                ui_warn "Portdir $portdir doesn't seem to belong to portname $portname"
     1848                array set portinfo [lindex $result 1]
     1849            }
    18441850            set portname $portinfo(name)
    18451851        }
     
    27842790                break_softcontinue "Portdir $portdir not found" 1 status
    27852791            }
    2786             array set portinfo [lindex $result 1]
     2792            set matchindex [lsearch -exact -nocase $result $portname]
     2793            if {$matchindex != -1} {
     2794                array set portinfo [lindex $result [incr matchindex]]
     2795            } else {
     2796                ui_warn "Portdir $portdir doesn't seem to belong to portname $portname"
     2797                array set portinfo [lindex $result 1]
     2798            }
    27872799        }
    27882800
Note: See TracChangeset for help on using the changeset viewer.