aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-04-15 11:28:01 -0500
committerJack Nagel2014-04-15 11:28:01 -0500
commitf4f04cc2ec981fdf257d177bd42f8dfcfab158d6 (patch)
tree27c61f323e28aefdeab19765619978631be757d8
parent61bff378d398f22c39423350fa2e83eebee86b4b (diff)
downloadhomebrew-f4f04cc2ec981fdf257d177bd42f8dfcfab158d6.tar.bz2
Remove yet another xcode-select check
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 1 insertions, 2 deletions
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