diff options
| author | Dominyk Tiller | 2015-08-25 18:48:24 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2015-08-26 17:30:36 +0100 |
| commit | 94bb92b4c1c27ad32be784975b03a337cd61695d (patch) | |
| tree | 4f20fe840246d18f9bf7a981591ffe0633ac42dd /Library | |
| parent | 98499d1d292c6aa820dc15a5b554be9b73c3250e (diff) | |
| download | brew-94bb92b4c1c27ad32be784975b03a337cd61695d.tar.bz2 | |
doctor: add check for SSL_CERT_DIR
Closes Homebrew/homebrew#43154.
Closes Homebrew/homebrew#43277.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 910aedc52..91d215e1a 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -664,6 +664,17 @@ class Checks end end + def check_for_unsupported_curl_vars + # Support for SSL_CERT_DIR seemed to be removed in the 10.10.5 update. + if MacOS.version >= :yosemite && !ENV["SSL_CERT_DIR"].nil? then <<-EOS.undent + SSL_CERT_DIR support was removed from Apple's curl. + If fetching formulae fails you should: + unset SSL_CERT_DIR + and remove it from #{shell_profile} if present. + EOS + end + end + def check_which_pkg_config binary = which "pkg-config" return if binary.nil? |
