Revision
140050
Author
jmr@macports.org
Date
2015-09-07 19:28:59 -0700 (Mon, 07 Sep 2015)

Log Message

fix breakage due to _mportkey changes

Modified Paths

Diff

Modified: trunk/base/src/macports1.0/macports.tcl (140049 => 140050)


--- 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} {