aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
diff options
context:
space:
mode:
authorJack Nagel2013-10-18 12:56:52 -0500
committerJack Nagel2013-10-18 13:38:18 -0500
commitf813dc3306e66c2b9a78d5cb6a8da2e118bb6b31 (patch)
tree39fbdbb2854d9f64a2b0b259eccfd5b1415ecf6f /Library/Homebrew/os
parentb7e9dc31b06daf503d8242e1de57846271534a15 (diff)
downloadhomebrew-f813dc3306e66c2b9a78d5cb6a8da2e118bb6b31.tar.bz2
Make condition clearer using names
Diffstat (limited to 'Library/Homebrew/os')
-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