From 943978a955a0a47f4227519aaccc784f51d3c10c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 18 Oct 2013 12:56:52 -0500 Subject: [PATCH] Make condition clearer using names --- Library/Homebrew/os/mac/xquartz.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index c906da38e4..e46d8da271 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -122,7 +122,7 @@ module OS private def use_sdk? - not (prefix.to_s == '/opt/X11' or MacOS::CLT.installed?) + provided_by_apple? && Xcode.without_clt? end end end