<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4da988561f1b5beac750c3391ee13fe0d0a8003f">https://github.com/macports/macports-ports/commit/4da988561f1b5beac750c3391ee13fe0d0a8003f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 4da988561f1 CronniX: Use awk instead of sed to remove bom
</span>4da988561f1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4da988561f1b5beac750c3391ee13fe0d0a8003f
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sat Jan 6 02:08:09 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> CronniX: Use awk instead of sed to remove bom
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> sed on macOS 11 and earlier doesn't have what we need.
</span>---
aqua/CronniX/Portfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/CronniX/Portfile b/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7eb8a66e993..0b923654d52 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,7 @@ post-configure {
</span> foreach {lang charset} [list English ascii German iso-8859-1 Swedish macroman] {
set strings ${worksrcpath}/${lang}.lproj/Localizable.strings
move ${strings} ${strings}.orig
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "< [shellescape ${strings}.orig] LC_CTYPE=C tr -d '\\000' | LC_CTYPE=C sed '1s|^\\xfe\\xff||' | iconv -f [shellescape ${charset}] -t utf-8 > [shellescape ${strings}]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "< [shellescape ${strings}.orig] LC_CTYPE=C tr -d '\\000' | LC_CTYPE=C awk 'NR==1{sub(/^\\xfe\\xff/,\"\")}1' | iconv -f [shellescape ${charset}] -t utf-8 > [shellescape ${strings}]"
</span> }
# Convert Mac to Unix line endings.
foreach lang [list Danish] {
</pre><pre style='margin:0'>
</pre>