<pre style='margin:0'>
Ahmad Satryaji Aulia (satraul) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/d7cbf171c1994066f68d4d10548bc44731959f62">https://github.com/macports/macports-base/commit/d7cbf171c1994066f68d4d10548bc44731959f62</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 d7cbf17 Only check OS/platform on MacOS
</span>d7cbf17 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d7cbf171c1994066f68d4d10548bc44731959f62
</span>Author: Satryaji Aulia <satraul@macports.org>
AuthorDate: Sun Oct 13 16:56:19 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> Only check OS/platform on MacOS
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Temporary fix for Linux not working
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> References: http://trac.macports.org/ticket/58497
</span>---
src/macports1.0/macports.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<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 63439d8..b117207 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;'>@@ -706,7 +706,7 @@ proc mportinit {{up_ui_options {}} {up_options {}} {up_variations {}}} {
</span> }
# Check that the current platform is the one we were configured for, otherwise need to do migration
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {($os_platform ne $macports::autoconf::os_platform) || ($os_major != $macports::autoconf::os_major)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {($os_platform ne $macports::autoconf::os_platform) || ($os_platform eq "darwin" && $os_major != $macports::autoconf::os_major)} {
</span> ui_error "Current platform \"$os_platform $os_major\" does not match expected platform \"$macports::autoconf::os_platform $macports::autoconf::os_major\""
ui_error "If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration"
return -code error "OS platform mismatch"
</pre><pre style='margin:0'>
</pre>