diff options
| author | Max Howell | 2012-03-01 17:01:17 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-01 17:01:17 +0000 |
| commit | 2a559110c2ef0fd6ff13f51b59154b9a165a95c2 (patch) | |
| tree | 234461431abe5a47627bb65ba2b6f1f5b215d6aa /Library | |
| parent | c21ffc4139ec06ef4e8ef52d2f3159dfa23395f5 (diff) | |
| download | brew-2a559110c2ef0fd6ff13f51b59154b9a165a95c2.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" |
