<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/c18b0108aaa6cbfef3b50d879ee696c8a8a7f141">https://github.com/macports/macports-base/commit/c18b0108aaa6cbfef3b50d879ee696c8a8a7f141</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 c18b0108a Silence stderr from pkgutil
</span>c18b0108a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c18b0108aaa6cbfef3b50d879ee696c8a8a7f141
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Oct 23 16:52:30 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> Silence stderr from pkgutil
</span>---
src/macports1.0/macports.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index e79f9fc30..743bd2fa8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -613,7 +613,7 @@ proc macports::set_xcodecltversion {name1 name2 op} {
</span> # Potential names for the CLTs pkg on different OS versions.
set pkgnames [list CLTools_Executables CLTools_Base DeveloperToolsCLI DeveloperToolsCLILeo]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[catch {exec -ignorestderr /usr/sbin/pkgutil --pkgs=com\\.apple\\.pkg\\.([join $pkgnames |])} result]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[catch {exec -ignorestderr /usr/sbin/pkgutil --pkgs=com\\.apple\\.pkg\\.([join $pkgnames |]) 2> /dev/null} result]} {
</span> set macports::xcodecltversion none
return
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -623,7 +623,7 @@ proc macports::set_xcodecltversion {name1 name2 op} {
</span> foreach pkgname $pkgnames {
set fullpkgname com.apple.pkg.${pkgname}
if {$fullpkgname in $pkgs} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {exec -ignorestderr /usr/sbin/pkgutil --pkg-info $fullpkgname} result]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {exec -ignorestderr /usr/sbin/pkgutil --pkg-info $fullpkgname 2> /dev/null} result]} {
</span> foreach line [split $result \n] {
lassign [split $line] name val
if {$name eq "version:"} {
</pre><pre style='margin:0'>
</pre>