[119693] trunk/base/src/registry2.0/portimage.tcl

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


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

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

Modified: trunk/base/src/registry2.0/portimage.tcl
===================================================================
--- trunk/base/src/registry2.0/portimage.tcl	2014-05-03 22:31:20 UTC (rev 119692)
+++ trunk/base/src/registry2.0/portimage.tcl	2014-05-03 22:38:50 UTC (rev 119693)
@@ -217,7 +217,7 @@
             append composite_spec _${revision}${variants}
         }
     }
-    set ilist [eval registry::entry imaged $searchkeys]
+    set ilist [registry::entry imaged {*}$searchkeys]
 
     if { [llength $ilist] > 1 } {
         ui_msg "$UI_PREFIX [msgcat::mc "The following versions of $name are currently installed:"]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140503/415e1d10/attachment.html>


More information about the macports-changes mailing list