[140050] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Mon Sep 7 19:28:59 PDT 2015


Revision: 140050
          https://trac.macports.org/changeset/140050
Author:   jmr at macports.org
Date:     2015-09-07 19:28:59 -0700 (Mon, 07 Sep 2015)
Log Message:
-----------
fix breakage due to _mportkey changes

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2015-09-08 02:15:29 UTC (rev 140049)
+++ trunk/base/src/macports1.0/macports.tcl	2015-09-08 02:28:59 UTC (rev 140050)
@@ -3970,8 +3970,8 @@
                   && [info exists portinfo(canonical_active_variants)] && $portinfo(canonical_active_variants) ne $oldvariant} {
             ui_debug "variant override ... upgrading!"
         } elseif {$os_platform_installed ne "" && $os_major_installed ne "" && $os_platform_installed != 0
-                  && ([_mportkey $mport {{os.platform}}] ne $os_platform_installed
-                  || [_mportkey $mport {{os.major}}] != $os_major_installed)} {
+                  && ([_mportkey $mport os.platform] ne $os_platform_installed
+                  || [_mportkey $mport os.major] != $os_major_installed)} {
             ui_debug "platform mismatch ... upgrading!"
             set build_override 1
         } elseif {$is_revupgrade_second_run} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150907/f6d533fd/attachment.html>


More information about the macports-changes mailing list