diff options
| author | Dominyk Tiller | 2017-09-05 03:35:44 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2017-09-05 03:35:44 +0100 |
| commit | 9562cceef15977306c9664f4f19892992a63e44a (patch) | |
| tree | b04ee4289910ff7c8f30ac1374bbf8316a758072 /Library | |
| parent | e77701075606cbcf3075d7fcc123556b63977bcf (diff) | |
| download | brew-9562cceef15977306c9664f4f19892992a63e44a.tar.bz2 | |
audit: stop demanding a HTTP HEAD mirror for curl
Not sure if this is how you want to handle it but having a HEAD mirror
for `curl` is just silliness.
Ref: https://github.com/Homebrew/homebrew-core/commit/e36b95849ae38ade30605155d75cf6e731b4e38f
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index d089f308d..cfc57ac92 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1237,7 +1237,7 @@ class ResourceAuditor def audit_urls urls = [url] + mirrors - if name == "curl" && !urls.find { |u| u.start_with?("http://") } + if name == "curl" && !urls.find { |u| u.start_with?("http://") } && url != Formula["curl"].head.url problem "should always include at least one HTTP url" end |
