aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-09-05 03:35:44 +0100
committerDominyk Tiller2017-09-05 03:35:44 +0100
commit9562cceef15977306c9664f4f19892992a63e44a (patch)
treeb04ee4289910ff7c8f30ac1374bbf8316a758072 /Library
parente77701075606cbcf3075d7fcc123556b63977bcf (diff)
downloadbrew-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.rb2
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