aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-12 12:13:38 +0000
committerGitHub2016-11-12 12:13:38 +0000
commit82aace9844ca8323b1eabc9446e884bd933f3c42 (patch)
tree14034d141008f213289f3029183c5389b0ec654e /Library
parentc4519b030ec2c689cdd2a760a8d4f18926c7bed1 (diff)
parent215105a48410176bdd5ee0fc56a93b36bd06fa1b (diff)
downloadbrew-82aace9844ca8323b1eabc9446e884bd933f3c42.tar.bz2
Merge pull request #1487 from MikeMcQuaid/diagnostic-skip-xcode-select
diagnostic: skip xcode-select check with no Xcode.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 9c106acf1..db054ea4c 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -233,6 +233,7 @@ module Homebrew
def check_xcode_select_path
return if MacOS::CLT.installed?
+ return unless MacOS::Xcode.installed?
return if File.file?("#{MacOS.active_developer_dir}/usr/bin/xcodebuild")
path = MacOS::Xcode.bundle_path