[134838] trunk/base/src/port1.0/portutil.tcl
jmr at macports.org
jmr at macports.org
Wed Apr 8 07:59:06 PDT 2015
Revision: 134838
https://trac.macports.org/changeset/134838
Author: jmr at macports.org
Date: 2015-04-08 07:59:05 -0700 (Wed, 08 Apr 2015)
Log Message:
-----------
make sure the newline isn't treated as part of the argument to global in makeuserproc
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2015-04-08 14:51:23 UTC (rev 134837)
+++ trunk/base/src/port1.0/portutil.tcl 2015-04-08 14:59:05 UTC (rev 134838)
@@ -1281,7 +1281,7 @@
# all the globals in its scope. This is undeniably ugly, but I haven't
# thought of any other way to do this.
proc makeuserproc {name body} {
- append modified_body {global {*}[info globals]\n} $body
+ append modified_body {global {*}[info globals]} \n $body
proc $name {} $modified_body
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150408/7b782c6f/attachment.html>
More information about the macports-changes
mailing list