[125811] trunk/base/src/macports1.0/reclaim.tcl

cal at macports.org cal at macports.org
Fri Sep 26 14:36:28 PDT 2014


Revision: 125811
          https://trac.macports.org/changeset/125811
Author:   cal at macports.org
Date:     2014-09-26 14:36:28 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
base: reclaim: fix invalid bareword "dependents"

Modified Paths:
--------------
    trunk/base/src/macports1.0/reclaim.tcl

Modified: trunk/base/src/macports1.0/reclaim.tcl
===================================================================
--- trunk/base/src/macports1.0/reclaim.tcl	2014-09-26 21:17:29 UTC (rev 125810)
+++ trunk/base/src/macports1.0/reclaim.tcl	2014-09-26 21:36:28 UTC (rev 125811)
@@ -343,7 +343,7 @@
                     if {[catch {set dependents [registry::list_dependents $name [lindex 1] [lindex 2] [lindex 3]]} error]} {
                         ui_error "something went wrong when trying to enumerate all dependents for $name"
                     }
-                    if {dependents ne ""} {
+                    if {${dependents} ne ""} {
                         ui_warn "the following application ($name) is a dependent for $dependents. Are you positive you'd like to uninstall this 
                                  (this could break other applications)? \[Y/N\]"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/b0cad595/attachment.html>


More information about the macports-changes mailing list