aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-18 12:56:52 -0500
committerJack Nagel2013-10-18 13:38:18 -0500
commit943978a955a0a47f4227519aaccc784f51d3c10c (patch)
treec8d54cfb3014886251be55811540966f1f554f27 /Library
parent273f5b2ddd66859c3081fa30e27baa3833c60f2f (diff)
downloadbrew-943978a955a0a47f4227519aaccc784f51d3c10c.tar.bz2
Make condition clearer using names
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index c906da38e..e46d8da27 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