[119694] trunk/base/src/registry2.0/portuninstall.tcl

cal at macports.org cal at macports.org
Sat May 3 15:39:39 PDT 2014


Revision: 119694
          https://trac.macports.org/changeset/119694
Author:   cal at macports.org
Date:     2014-05-03 15:39:39 -0700 (Sat, 03 May 2014)
Log Message:
-----------
base: registry2.0/portuninstall.tcl: Use {*} rather than eval

Modified Paths:
--------------
    trunk/base/src/registry2.0/portuninstall.tcl

Modified: trunk/base/src/registry2.0/portuninstall.tcl
===================================================================
--- trunk/base/src/registry2.0/portuninstall.tcl	2014-05-03 22:38:50 UTC (rev 119693)
+++ trunk/base/src/registry2.0/portuninstall.tcl	2014-05-03 22:39:39 UTC (rev 119694)
@@ -85,7 +85,7 @@
             append composite_spec _${revision}${variants}
         }
     }
-    set ilist [eval registry::entry imaged $searchkeys]
+    set ilist [registry::entry imaged {*}$searchkeys]
     if { [llength $ilist] > 1 } {
         # set portname again since the one we were passed may not have had the correct case
         set portname [[lindex $ilist 0] name]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140503/9bb86002/attachment.html>


More information about the macports-changes mailing list