diff options
| author | Mike McQuaid | 2016-12-30 20:17:34 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-12-30 20:17:34 +0000 |
| commit | b3c6334d3cde6d653427ae29892e3a14af9c5bd9 (patch) | |
| tree | 6921417eb3b361213f9385c48d092f71da49e7c0 /Library/Homebrew/extend/os/mac/development_tools.rb | |
| parent | e6fb3c3114ea842884a49c7f2ddfe1a9c4e3eee0 (diff) | |
| download | brew-b3c6334d3cde6d653427ae29892e3a14af9c5bd9.tar.bz2 | |
audit: use new curl_args form.
This will use Curl’s default user agent to reduce homepage errors and
provides a function that can be used for other audits to perform
similar tests on URLs.
Diffstat (limited to 'Library/Homebrew/extend/os/mac/development_tools.rb')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/development_tools.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb index 381b26e66..8c0c48a51 100644 --- a/Library/Homebrew/extend/os/mac/development_tools.rb +++ b/Library/Homebrew/extend/os/mac/development_tools.rb @@ -76,5 +76,10 @@ class DevelopmentTools end end end + + def curl_handles_most_https_homepages? + # The system Curl is too old for some modern HTTPS homepages on Yosemite. + MacOS.version >= :el_capitan + end end end |
