diff options
| author | Jack Nagel | 2014-05-12 14:46:50 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-05-12 18:59:52 -0500 | 
| commit | dd4dd3295e6caf58df1bac1d8a0236ed17b81adc (patch) | |
| tree | 84a8df07feb10fa0add009e3cd63c6a1eb769ea3 /Library/Homebrew/cmd/install.rb | |
| parent | 954a7a6410d041413827da2b138a412e749b71b5 (diff) | |
| download | homebrew-dd4dd3295e6caf58df1bac1d8a0236ed17b81adc.tar.bz2 | |
Separate Xcode and CLT doctor checks by OS X version
Closes #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 | 
