aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-08-14 11:37:29 -0500
committerJack Nagel2012-08-18 11:25:59 -0500
commit166a9ba0ed6573a7438c0ac5691ccdf4f06f7bfe (patch)
treef7c9c57bb95802b69ff7904e777273361b721688 /Library/Homebrew/cmd
parentb8231fc5f3e93f2d7a230e7880fb2fdc7c04c369 (diff)
downloadbrew-166a9ba0ed6573a7438c0ac5691ccdf4f06f7bfe.tar.bz2
Deprecate MacOS.version? style methods
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 377873d16..7d5a4711a 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -796,7 +796,7 @@ def check_git_status
end
def check_for_leopard_ssl
- if MacOS.leopard? and not ENV['GIT_SSL_NO_VERIFY']
+ if MacOS.version == :leopard and not ENV['GIT_SSL_NO_VERIFY']
<<-EOS.undent
The version of libcurl provided with Mac OS X Leopard has outdated
SSL certificates.