[71838] trunk/base/src/port/port.tcl
jmr at macports.org
jmr at macports.org
Fri Sep 24 01:12:48 PDT 2010
Revision: 71838
http://trac.macports.org/changeset/71838
Author: jmr at macports.org
Date: 2010-09-24 01:12:45 -0700 (Fri, 24 Sep 2010)
Log Message:
-----------
don't break in action_upgrade when macports::upgrade returns status 2 (#26585)
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2010-09-24 08:05:37 UTC (rev 71837)
+++ trunk/base/src/port/port.tcl 2010-09-24 08:12:45 UTC (rev 71838)
@@ -2460,7 +2460,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/20100924/7bde7244/attachment.html>
More information about the macports-changes
mailing list