aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-03-20 21:50:32 -0500
committerMisty De Meo2013-03-20 21:50:32 -0500
commitedeb5e2397335eae20012409f1e873a4aedc78aa (patch)
tree1f224425b0f9598d6549022f83d6afa8a329eac2 /Library
parentb578a47bb9fda8043d7bcff730dc5bf951df41c7 (diff)
downloadbrew-edeb5e2397335eae20012409f1e873a4aedc78aa.tar.bz2
superenv: fix xcode43_developer_dir check
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index 345943959..fb494c10e 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -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"