diff options
| author | Jack Nagel | 2014-05-12 14:46:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-12 18:59:52 -0500 |
| commit | 1845b39d411fa6b0c592aa080dd09fea8cb3fa9e (patch) | |
| tree | 5c18ef8fa92b5bbb7dd90f9a450b9bc8b3e9e8db /Library/Homebrew/cmd/install.rb | |
| parent | be6029c63435924423a0ffc4e0c807103fa1d787 (diff) | |
| download | brew-1845b39d411fa6b0c592aa080dd09fea8cb3fa9e.tar.bz2 | |
Separate Xcode and CLT doctor checks by OS X version
Closes Homebrew/homebrew#29206.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index d8dfc34ba..2308723dc 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -64,9 +64,11 @@ module Homebrew extend self def check_xcode require 'cmd/doctor' checks = Checks.new - doctor_methods = ['check_xcode_clt', 'check_xcode_license_approved', - 'check_for_osx_gcc_installer'] - doctor_methods.each do |check| + %w[ + check_for_installed_developer_tools + check_xcode_license_approved + check_for_osx_gcc_installer + ].each do |check| out = checks.send(check) opoo out unless out.nil? end |
