Revision
72991
Author
jmr@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)

Modified Paths

Diff

Modified: branches/release_1_9/base/src/port/port.tcl (72990 => 72991)


--- 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
             }
         }