From 1845b39d411fa6b0c592aa080dd09fea8cb3fa9e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 12 May 2014 14:46:50 -0500 Subject: Separate Xcode and CLT doctor checks by OS X version Closes Homebrew/homebrew#29206. --- Library/Homebrew/cmd/install.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew/cmd/install.rb') 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 -- cgit v1.2.3