aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-29 14:48:52 -0400
committerMax Howell2012-08-29 14:49:03 -0400
commit7857453ac43e99665a38d5ef965903eb81d307df (patch)
tree3944571c1c003699ae860e6e31d2d690688b1627 /Library
parentf60875189d25d5fee1a977da8fd8e80b4b72f0e2 (diff)
downloadhomebrew-7857453ac43e99665a38d5ef965903eb81d307df.tar.bz2
Don't fail pre-Xcode 4.3
Refs #14392.
Diffstat (limited to 'Library')
-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