<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.4
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/ce493cbc1c57987da9cf9a46e2bbfd88b8c42966">https://github.com/macports/macports-base/commit/ce493cbc1c57987da9cf9a46e2bbfd88b8c42966</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ce493cbc1c57987da9cf9a46e2bbfd88b8c42966
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Feb 17 10:12:43 2017 +1100
<span style='display:block; white-space:pre;color:#404040;'> Use -ignorestderr with exec of cmp
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 55c3b2c45357fcd124e6a74a94e634fe4c79d221)
</span>---
src/port1.0/portutil.tcl | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portutil.tcl b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 49b80b2..a5b5e1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1022,10 +1022,8 @@ proc reinplace {args} {
</span> }
close $tmpfd
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {!$quiet} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {exec cmp -s $file $tmpfile}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "[format [msgcat::mc "reinplace %1\$s didn't change anything in %2\$s"] $pattern $file]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {!$quiet && ![catch {exec -ignorestderr cmp -s $file $tmpfile}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "[format [msgcat::mc "reinplace %1\$s didn't change anything in %2\$s"] $pattern $file]"
</span> }
set attributes [file attributes $file]
</pre><pre style='margin:0'>
</pre>