aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorDominyk Tiller2015-09-18 15:55:21 +0100
committerDominyk Tiller2015-09-18 15:55:21 +0100
commit359cdafb861fa8e4c65b308f103a56533b5f26ab (patch)
treee07c5fd24f0012a81c19eb4747fefbcb11942bb5 /Library/Homebrew
parentccbb2ce78638bf0ed102dfe005737504d0aeb436 (diff)
downloadbrew-359cdafb861fa8e4c65b308f103a56533b5f26ab.tar.bz2
doctor: don't false-flag sdk with clt
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 386c89891..dae10c280 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -576,7 +576,7 @@ class Checks
# Xcode 7 lacking the 10.10 SDK is forcing sysroot to be declared
# nil on 10.10 & breaking compiles. CLT is workaround.
def check_sdk_path_not_nil_yosemite
- if MacOS.version == :yosemite && MacOS::Xcode.installed? && MacOS.sdk_path.nil?
+ if MacOS.version == :yosemite && !MacOS::CLT.installed? && MacOS::Xcode.installed? && MacOS.sdk_path.nil?
<<-EOS.undent
Xcode 7 lacks the 10.10 SDK which can cause some builds to fail.
We recommend installing the Command Line Tools with: