aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorJack Nagel2013-08-30 14:49:07 -0500
committerJack Nagel2013-08-30 14:49:10 -0500
commit6e4ad9eb22e94595bc09194bc2d73d14f107086f (patch)
tree036e0a38a0af60f42537e98980101069259b8f50 /Library/Homebrew/os/mac
parentf142cca6e2a51a5d9f33f4c4ecd22963356a4b7c (diff)
downloadbrew-6e4ad9eb22e94595bc09194bc2d73d14f107086f.tar.bz2
Fix wrong assumption in MacOS::Xcode.without_clt?
Fixes Homebrew/homebrew#22221.
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 13a651115..6b30e96bb 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -39,7 +39,7 @@ module MacOS::Xcode extend self
end
def without_clt?
- version >= "4.3" and not MacOS::CLT.installed?
+ installed? && version >= "4.3" && !MacOS::CLT.installed?
end
def prefix