[105530] trunk/base/src/port/port.tcl

cal at macports.org cal at macports.org
Tue Apr 23 14:39:21 PDT 2013


Revision: 105530
          https://trac.macports.org/changeset/105530
Author:   cal at macports.org
Date:     2013-04-23 14:39:21 -0700 (Tue, 23 Apr 2013)
Log Message:
-----------
port.tcl: fix incorrect naming: s/is_update/is_upgrade/

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2013-04-23 21:33:59 UTC (rev 105529)
+++ trunk/base/src/port/port.tcl	2013-04-23 21:39:21 UTC (rev 105530)
@@ -419,12 +419,12 @@
 
 
 # Supply a default porturl/portname if the portlist is empty
-proc require_portlist { nameportlist {is_update "no"} } {
+proc require_portlist { nameportlist {is_upgrade "no"} } {
     global private_options
     upvar $nameportlist portlist
 
     if {[llength $portlist] == 0 && (![info exists private_options(ports_no_args)] || $private_options(ports_no_args) == "no")} {
-        if {${is_update} == "yes"} {
+        if {${is_upgrade} == "yes"} {
             # $> port upgrade outdated
             # Error: No ports matched the given expression
             # is not very user friendly - if we're in the special case of
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130423/6b66d493/attachment.html>


More information about the macports-changes mailing list