Don't fail pre-Xcode 4.3

Refs Homebrew/homebrew#14392.
This commit is contained in:
Max Howell 2012-08-29 14:48:52 -04:00
parent 95164a5d46
commit 096ba6c17c

View File

@ -18,7 +18,7 @@ end
def superenv? def superenv?
not MacOS::Xcode.bad_xcode_select_path? and # because xcrun won't work not MacOS::Xcode.bad_xcode_select_path? and # because xcrun won't work
not MacOS::Xcode.folder.nil? and # because xcrun won't work not MacOS::Xcode.folder.nil? and # because xcrun won't work
superenv_bin.directory? and and superenv_bin and superenv_bin.directory? and
not ARGV.include? "--env=std" not ARGV.include? "--env=std"
end end