<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/555c0410204569032148991f40df59605b77bda0">https://github.com/macports/macports-base/commit/555c0410204569032148991f40df59605b77bda0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 555c0410204569032148991f40df59605b77bda0
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Apr 9 02:14:39 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> test library: clean up unused globals
</span>---
tests/test/library.tcl.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/tests/test/library.tcl.in b/tests/test/library.tcl.in
</span><span style='display:block; white-space:pre;color:#808080;'>index a395e0df0..e562ea1a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/tests/test/library.tcl.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/tests/test/library.tcl.in
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,7 +51,7 @@ proc set_dir {} {
</span>
# Run portindex
proc port_index {} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bindir datadir cpwd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bindir cpwd
</span>
# Move up 2 level to run portindex.
set path [pwd]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,7 +69,7 @@ proc port_index {} {
</span>
# Executes port clean.
proc port_clean {pwd} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bindir datadir portsrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bindir portsrc
</span>
set back [pwd]
cd $pwd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,7 +80,7 @@ proc port_clean {pwd} {
</span>
# Runs the portfile.
proc port_run {pwd} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bindir datadir portsrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bindir portsrc
</span>
set back [pwd]
cd $pwd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +92,7 @@ proc port_run {pwd} {
</span>
# Runs port trace.
proc port_trace {pwd} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bindir datadir portsrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bindir portsrc
</span>
set back [pwd]
cd $pwd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -112,7 +112,7 @@ proc port_install {{name "current"}} {
</span>
# Run configure command.
proc port_config {pwd} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global path bindir portsrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bindir portsrc
</span>
set result [catch {exec -ignorestderr env PORTSRC=${portsrc} ${bindir}/port configure 2>@1} ]
return $result
</pre><pre style='margin:0'>
</pre>