superenv: fix xcode43_developer_dir check

This commit is contained in:
Misty De Meo 2013-03-20 21:50:32 -05:00
parent b578a47bb9
commit edeb5e2397

View File

@ -18,8 +18,9 @@ end
def superenv?
not (MacSystem.xcode43_without_clt? and
MacOS.sdk_path.nil?) and # because superenv will fail to find stuff
MacSystem.xcode43_developer_dir and # because superenv's logic might not find it
MacOS.sdk_path.nil?) and # because superenv will fail to find stuff
not (MacSystem.xcode43_without_clt? and
!MacSystem.xcode43_developer_dir) and # because superenv's logic might not find it
not MacOS::Xcode.folder.nil? and # because xcrun won't work
superbin and superbin.directory? and
not ARGV.include? "--env=std"