From a55e670a8ad6f9655394cae216eab5fa96c9c9fa Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 15 Apr 2014 11:28:01 -0500 Subject: Remove yet another xcode-select check --- Library/Homebrew/cmd/doctor.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index dc556c9b8..221a51533 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1072,10 +1072,9 @@ def check_for_unlinked_but_not_keg_only end def check_xcode_license_approved - return if MacOS::Xcode.bad_xcode_select_path? # If the user installs Xcode-only, they have to approve the # license or no "xc*" tool will work. - <<-EOS.undent if `/usr/bin/xcrun clang 2>&1` =~ /license/ and not $?.success? + if `/usr/bin/xcrun clang 2>&1` =~ /license/ and not $?.success? then <<-EOS.undent You have not agreed to the Xcode license. Builds will fail! Agree to the license by opening Xcode.app or running: xcodebuild -license -- cgit v1.2.3