aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 69d8039ad..059e6f284 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -193,7 +193,7 @@ end
def check_xcode_clt
if MacOS::Xcode.installed?
__check_xcode_up_to_date
- elsif MacOS.version >= 10.7
+ elsif MacOS.version >= "10.7"
__check_clt_up_to_date
else <<-EOS.undent
Xcode not installed
@@ -225,7 +225,7 @@ def __check_clt_up_to_date
end
def check_for_osx_gcc_installer
- if (MacOS.version < 10.7 || MacOS::Xcode.version < "4.1") && \
+ if (MacOS.version < "10.7" || MacOS::Xcode.version < "4.1") && \
MacOS.clang_version == "2.1" then <<-EOS.undent
You have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer, and it is known to cause