From ffc71c841822bd0779cc05643983c0ea77419e80 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 1 Mar 2012 17:01:17 +0000 Subject: Don't warn about missing Xcode twice --- Library/Homebrew/cmd/doctor.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Homebrew') 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" -- cgit v1.2.3