[54938] trunk/base/src/port/port.tcl
jmr at macports.org
jmr at macports.org
Tue Aug 4 15:01:41 PDT 2009
Revision: 54938
http://trac.macports.org/changeset/54938
Author: jmr at macports.org
Date: 2009-08-04 15:01:39 -0700 (Tue, 04 Aug 2009)
Log Message:
-----------
avoid irrelevant error output about global_options(ports_nodeps) when upgrade fails
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2009-08-04 21:54:04 UTC (rev 54937)
+++ trunk/base/src/port/port.tcl 2009-08-04 22:01:39 UTC (rev 54938)
@@ -2035,7 +2035,7 @@
set status [macports::upgrade $portname "port:$portname" $global_variations_list $variations_list [array get options] depscache]
if {$status != 0 && ![macports::ui_isset ports_processall]} {
if {!$orig_nodeps} {
- unset macports::global_options(ports_nodeps)
+ unset -nocomplain macports::global_options(ports_nodeps)
}
return $status
}
@@ -2043,7 +2043,7 @@
}
if {!$orig_nodeps} {
- unset macports::global_options(ports_nodeps)
+ unset -nocomplain macports::global_options(ports_nodeps)
}
return $status
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090804/ea6d4bf4/attachment.html>
More information about the macports-changes
mailing list