Skip to content

Commit

Permalink
!= -> ne for string
Browse files Browse the repository at this point in the history
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 2403337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macports1.0/macports.tcl
Expand Up @@ -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 # 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 "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" ui_error "If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration"
return -code error "OS platform mismatch" return -code error "OS platform mismatch"
Expand Down

0 comments on commit 2403337

Please sign in to comment.