<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5f85e2d2eb848b08b2a294671d94b368a9af346d">https://github.com/macports/macports-ports/commit/5f85e2d2eb848b08b2a294671d94b368a9af346d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5f85e2d2eb848b08b2a294671d94b368a9af346d
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Mar 4 06:55:09 2021 +1100
<span style='display:block; white-space:pre;color:#404040;'> muniversal pg: remove bashism
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The test command is not required to accept "==".
</span>---
_resources/port1.0/group/muniversal-1.0.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/muniversal-1.0.tcl b/_resources/port1.0/group/muniversal-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index bd0b50f3649..196bf7bda98 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/muniversal-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/muniversal-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -798,7 +798,7 @@ variant universal {
</span> }
}
default {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ! [catch {system "test `head -c2 ${dir1}/${fl}` == '#!'"}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ! [catch {system "test \"`head -c2 ${dir1}/${fl}`\" = '#!'"}] } {
</span> # Shell script, hopefully striping out arch flags works...
mergeStripArchFlags ${dir1} ${dir2} ${dir} ${fl}
} elseif { ! [catch {system "/usr/bin/diff -dw ${diffFormat} \"${dir1}/${fl}\" \"${dir2}/${fl}\" > \"${dir}/${fl}\"; test \$? -le 1"}] } {
</pre><pre style='margin:0'>
</pre>