From 096ba6c17cc966d04e01ca837372b9c77990ac0b Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 29 Aug 2012 14:48:52 -0400 Subject: Don't fail pre-Xcode 4.3 Refs Homebrew/homebrew#14392.--- Library/Homebrew/superenv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index ba42a5604..fbcc3eabc 100644 --- a/Library/Homebrew/superenv.rb +++ b/Library/Homebrew/superenv.rb @@ -18,7 +18,7 @@ end def superenv? not MacOS::Xcode.bad_xcode_select_path? 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" end -- cgit v1.2.3