<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/2377ea5d9f8c2f65377c48ab5b1af80924dcdf85">https://github.com/macports/macports-base/commit/2377ea5d9f8c2f65377c48ab5b1af80924dcdf85</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2377ea5d9f8c2f65377c48ab5b1af80924dcdf85
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Thu Nov 10 22:14:27 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> ReleaseProcess: use port-tclsh for bundled Tcl
</span>---
portmgr/ReleaseProcess | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/portmgr/ReleaseProcess b/portmgr/ReleaseProcess
</span><span style='display:block; white-space:pre;color:#808080;'>index b9618a0..f6aeb3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/portmgr/ReleaseProcess
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/portmgr/ReleaseProcess
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -203,16 +203,10 @@ to first create the destroot of the port and examine it for:
</span> ${destroot}/opt/local/bin/daemondo: Mach-O universal binary with 2 architectures
${destroot}/opt/local/bin/daemondo (for architecture ppc): Mach-O executable ppc
${destroot}/opt/local/bin/daemondo (for architecture i386): Mach-O executable i386
<span style='display:block; white-space:pre;background:#ffe0e0;'>- * tclsh shell invoked by our scripts: all scripts installed in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}/opt/local/bin (that is port, portindex and portmirror) should
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * tclsh invocation: all scripts installed in ${destroot}/opt/local/bin should
</span> invoke the tclsh shell through a call like:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #!/bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec /usr/bin/tclsh "$0" "$@"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- thus ensuring that the default Mac OS X bundled Tcl is used in our scripts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * macports1.0 Tcl package: The macports1.0 Tcl package should be sourced off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- its location in /opt/local/libexec/macports/lib/macports1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in every single one of our scripts in ${destroot}/opt/local/bin.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #!/opt/local/bin/port-tclsh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ thus ensuring that our bundled Tcl interpreter is used in our scripts.
</span> * Miscellaneous: anything else that might seem out of the ordinary for a fully
default-configured MacPorts installation.
</pre><pre style='margin:0'>
</pre>