Changeset 11918


Ignore:
Timestamp:
Apr 20, 2005, 12:17:56 PM (15 years ago)
Author:
olegb
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
fix upgrade, so that port:portname doesn't make it barf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release1/base/src/darwinports1.0/darwinports.tcl

    r11903 r11918  
    11431143        # set version_in_tree
    11441144        if {![info exists portinfo(version)]} {
    1145                 ui_error "Invalid port entry for $portinfo(name), missing version"
     1145                ui_error "Invalid port entry for $pname, missing version"
    11461146                return 1
    11471147        }
     
    12431243                if {[info exists portinfo(depends_build)]} {
    12441244                        foreach i $portinfo(depends_build) {
    1245                                 set d [lindex [split $i :] 2]
     1245                                set d [lindex [split $i :] end]
    12461246                                upgrade $d $i
    12471247                        }
     
    12501250                if {[info exists portinfo(depends_lib)]} {
    12511251                        foreach i $portinfo(depends_lib) {
    1252                                 set d [lindex [split $i :] 2]
     1252                                set d [lindex [split $i :] end]
    12531253                                upgrade $d $i
    12541254                        }
     
    12571257                if {[info exists portinfo(depends_run)]} {
    12581258                        foreach i $portinfo(depends_run) {
    1259                                 set d [lindex [split $i :] 2]
     1259                                set d [lindex [split $i :] end]
    12601260                                upgrade $d $i
    12611261                        }
Note: See TracChangeset for help on using the changeset viewer.