Skip to content

Commit

Permalink
Merge pull request Homebrew#1487 from MikeMcQuaid/diagnostic-skip-xco…
Browse files Browse the repository at this point in the history
…de-select

diagnostic: skip xcode-select check with no Xcode.
  • Loading branch information
MikeMcQuaid committed Nov 12, 2016
2 parents c4519b0 + 215105a commit 82aace9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def check_xcode_prefix_exists

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
Expand Down

0 comments on commit 82aace9

Please sign in to comment.