aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 85b502d1d..b01866958 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -37,8 +37,11 @@ module Homebrew extend self
def check_xcode
require 'cmd/doctor'
- xcode = Checks.new.check_for_latest_xcode
- opoo xcode unless xcode.nil?
+ checks = Checks.new
+ %w{check_for_latest_xcode check_xcode_license_approved}.each do |check|
+ out = checks.send(check)
+ opoo out unless out.nil?
+ end
end
def check_macports