[103044] users/cal/base-sqlite-portindex/src/portindex1.0/tcl.tcl

cal at macports.org cal at macports.org
Tue Feb 12 08:58:49 PST 2013


Revision: 103044
          https://trac.macports.org/changeset/103044
Author:   cal at macports.org
Date:     2013-02-12 08:58:49 -0800 (Tue, 12 Feb 2013)
Log Message:
-----------
portindex1.0: tcl: use eval as callback, since it generates much nicer stacktraces

Modified Paths:
--------------
    users/cal/base-sqlite-portindex/src/portindex1.0/tcl.tcl

Modified: users/cal/base-sqlite-portindex/src/portindex1.0/tcl.tcl
===================================================================
--- users/cal/base-sqlite-portindex/src/portindex1.0/tcl.tcl	2013-02-12 16:58:01 UTC (rev 103043)
+++ users/cal/base-sqlite-portindex/src/portindex1.0/tcl.tcl	2013-02-12 16:58:49 UTC (rev 103044)
@@ -95,7 +95,7 @@
     namespace export update
     proc update {outdir script} {
         init ${outdir}
-        ${script}
+        eval ${script}
         finish
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130212/68a4c2d4/attachment.html>


More information about the macports-changes mailing list