<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/51511c8c44b3f1567388256ad89d86d12aff0d17">https://github.com/macports/macports-base/commit/51511c8c44b3f1567388256ad89d86d12aff0d17</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 51511c8c4 Re-elevate privileges to place work symlink
</span>51511c8c4 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 51511c8c44b3f1567388256ad89d86d12aff0d17
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Apr 4 09:33:08 2024 +1100

<span style='display:block; white-space:pre;color:#404040;'>    Re-elevate privileges to place work symlink
</span>---
 src/port1.0/portutil.tcl | 3 +++
 1 file changed, 3 insertions(+)

<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 eb29be983..ded6537b7 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;'>@@ -1736,6 +1736,9 @@ proc open_statefile {args} {
</span>         }
         # Create a symlink to the workpath for port authors
         if {[tbool place_worksymlink] && ![file isdirectory $worksymlink]} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {[getuid] == 0 && [geteuid] != 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                elevateToRoot place_worksymlink
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span>             ui_debug "Attempting ln -sf $workpath $worksymlink"
             ln -sf $workpath $worksymlink
         }
</pre><pre style='margin:0'>

</pre>