aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-08-29 14:48:52 -0400
committerMax Howell2012-08-29 14:49:03 -0400
commit096ba6c17cc966d04e01ca837372b9c77990ac0b (patch)
tree03c87ed266eb7ae63654b35f4756ec7d87395e44 /Library/Homebrew
parent95164a5d460213ea864c0f7c953d02c719518fc0 (diff)
downloadbrew-096ba6c17cc966d04e01ca837372b9c77990ac0b.tar.bz2
Don't fail pre-Xcode 4.3
Refs Homebrew/homebrew#14392.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/superenv.rb2
1 files changed, 1 insertions, 1 deletions
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