<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/9131040100423ba82cf80d4c747fd29ed69ece29">https://github.com/macports/macports-base/commit/9131040100423ba82cf80d4c747fd29ed69ece29</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9131040100423ba82cf80d4c747fd29ed69ece29
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Jul 6 23:17:28 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> selfupdate: Create mp_source_path earlier
</span>---
src/macports1.0/selfupdate.tcl | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/selfupdate.tcl b/src/macports1.0/selfupdate.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fa01ba6bd..68c3a916d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/selfupdate.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/selfupdate.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -167,12 +167,6 @@ proc selfupdate::download_source {mp_source_path macports_version_new} {
</span> macports::ui_options \
macports::ui_prefix
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # create the path to the to be downloaded sources if it doesn't exist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists $mp_source_path]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir $mp_source_path
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_debug "MacPorts sources location: $mp_source_path"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {![info exists release_urls]} {
set release_urls [list]
if {[can_use_https github]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -537,6 +531,11 @@ proc selfupdate::main {{options {}} {updatestatusvar {}}} {
</span> }
set mp_source_path [file join $portdbpath sources selfupdate]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create the path to the to be downloaded sources if it doesn't exist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists $mp_source_path]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir $mp_source_path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "MacPorts sources location: $mp_source_path"
</span>
set rsync_fetched 0
macports_try -pass_signal {
</pre><pre style='margin:0'>
</pre>