diff options
| author | Jack Nagel | 2014-04-15 11:28:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-15 11:28:01 -0500 |
| commit | a55e670a8ad6f9655394cae216eab5fa96c9c9fa (patch) | |
| tree | 0e37030f40aab7547778b61b6c4e8c5cfa9b9ce1 /Library | |
| parent | b78a4b7372ed338a078f1378f333b736c1fb3287 (diff) | |
| download | brew-a55e670a8ad6f9655394cae216eab5fa96c9c9fa.tar.bz2 | |
Remove yet another xcode-select check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 3 |
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 |
