Merge pull request #3126 from DomT4/curl_audit

audit: stop demanding a HTTP HEAD mirror for curl
This commit is contained in:
Mike McQuaid 2017-09-12 15:48:11 +01:00 committed by GitHub
commit ef60688704

View File

@ -1176,7 +1176,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