diff options
| author | Max Howell | 2012-03-01 17:01:17 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-01 17:01:17 +0000 |
| commit | ffc71c841822bd0779cc05643983c0ea77419e80 (patch) | |
| tree | c4d76f02c86d4cdf5ba9aba77c64daa4d483b677 /Library | |
| parent | fb049005e2d6580882f03bd2c3ec377188f30a37 (diff) | |
| download | homebrew-ffc71c841822bd0779cc05643983c0ea77419e80.tar.bz2 | |
Don't warn about missing Xcode twice
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 9f47dd92a..af364f0c8 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -199,6 +199,9 @@ def check_xcode_exists end def check_for_latest_xcode + # the check_xcode_exists check is enough + return if MacOS.xcode_version.nil? + latest_xcode = case MacOS.version when 10.5 then "3.1.4" when 10.6 then "3.2.6" |
