Skip to content
Permalink
Browse files

!= -> ne for string

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@118167 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Mar 24, 2014
1 parent dd176b6 commit 24033370c7d61483f730b76c12fbb9f50ade57b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/macports1.0/macports.tcl
@@ -608,7 +608,7 @@ proc mportinit {{up_ui_options {}} {up_options {}} {up_variations {}}} {
}

# Check that the current platform is the one we were configured for, otherwise need to do migration
if {($os_platform != $macports::autoconf::os_platform) || ($os_major != $macports::autoconf::os_major)} {
if {($os_platform ne $macports::autoconf::os_platform) || ($os_major != $macports::autoconf::os_major)} {
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"

0 comments on commit 2403337

Please sign in to comment.
You can’t perform that action at this time.