[72991] branches/release_1_9/base/src/port/port.tcl

jmr at macports.org jmr at macports.org
Sun Oct 31 12:58:33 PDT 2010


Revision: 72991
          http://trac.macports.org/changeset/72991
Author:   jmr at macports.org
Date:     2010-10-31 12:58:31 -0700 (Sun, 31 Oct 2010)
Log Message:
-----------
merge r71838 from trunk:
 don't break in action_upgrade when macports::upgrade returns status 2 (#26585)

Revision Links:
--------------
    http://trac.macports.org/changeset/71838

Modified Paths:
--------------
    branches/release_1_9/base/src/port/port.tcl

Modified: branches/release_1_9/base/src/port/port.tcl
===================================================================
--- branches/release_1_9/base/src/port/port.tcl	2010-10-31 19:55:20 UTC (rev 72990)
+++ branches/release_1_9/base/src/port/port.tcl	2010-10-31 19:58:31 UTC (rev 72991)
@@ -2458,7 +2458,8 @@
     foreachport $portlist {
         if {![info exists depscache(port:$portname)]} {
             set status [macports::upgrade $portname "port:$portname" [array get requested_variations] [array get options] depscache]
-            if {$status != 0 && ![macports::ui_isset ports_processall]} {
+            # status 2 means the port was not found in the index
+            if {$status != 0 && $status != 2 && ![macports::ui_isset ports_processall]} {
                 break
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101031/b0732bb1/attachment.html>


More information about the macports-changes mailing list