From 6e4ad9eb22e94595bc09194bc2d73d14f107086f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 30 Aug 2013 14:49:07 -0500 Subject: Fix wrong assumption in MacOS::Xcode.without_clt? Fixes Homebrew/homebrew#22221. --- Library/Homebrew/os/mac/xcode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3