<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/bdd0a139182e7c87efb2b27276d4d7a1b4238a16">https://github.com/macports/macports-base/commit/bdd0a139182e7c87efb2b27276d4d7a1b4238a16</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 bdd0a1391 Clean statefile after installing from an archive
</span>bdd0a1391 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit bdd0a139182e7c87efb2b27276d4d7a1b4238a16
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Sep 25 15:34:18 2022 +1000

<span style='display:block; white-space:pre;color:#404040;'>    Clean statefile after installing from an archive
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/55445
</span>---
 src/port1.0/portinstall.tcl | 3 +++
 1 file changed, 3 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portinstall.tcl b/src/port1.0/portinstall.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fcd40ce19..b572da3eb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portinstall.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portinstall.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -342,6 +342,9 @@ proc portinstall::install_main {args} {
</span>         set install_dir [file dirname $location]
         file mkdir $install_dir
         file rename -force $archive_path $install_dir
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Clean up statefile so the state is consistent now that the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # archive is moved, in case anything fails from here on.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        delete [file join [option workpath] .macports.${subport}.state]
</span>         set location [file join $install_dir [file tail $archive_path]]
         set current_archive_type [string range [file extension $location] 1 end]
         set contents [extract_contents $location $current_archive_type]
</pre><pre style='margin:0'>

</pre>