Changeset 53712


Ignore:
Timestamp:
Jul 12, 2009, 4:14:24 PM (10 years ago)
Author:
jmr@…
Message:

fix returning of status codes for several action procs

Location:
trunk/base/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r53706 r53712  
    26552655    # close the port handle
    26562656    mportclose $workername
     2657    return 0
    26572658}
    26582659
  • trunk/base/src/port/port.tcl

    r53709 r53712  
    13451345        }
    13461346    }
     1347    return 0
    13471348}
    13481349
     
    17561757    }
    17571758
     1759    set status 0
    17581760    foreachport $portlist {
    17591761        if {$porturl eq ""} {
     
    18161818        }
    18171819    }
     1820    return $status
    18181821}
    18191822
     
    20062009    # shared depscache for all ports in the list
    20072010    array set depscache {}
     2011    set status 0
    20082012    foreachport $portlist {
    20092013        if {![registry::entry_exists_for_name $portname]} {
     
    20592063    registry::open_dep_map
    20602064
     2065    set status 0
    20612066    foreachport $portlist {
    20622067        set composite_version [composite_version $portversion [array get variations]]
     
    20862091        }
    20872092    }
    2088     return 0
     2093    return $status
    20892094}
    20902095
     
    21152120    }
    21162121
    2117     return 0
     2122    return $status
    21182123}
    21192124
Note: See TracChangeset for help on using the changeset viewer.