Merge pull request #3126 from DomT4/curl_audit
audit: stop demanding a HTTP HEAD mirror for curl
This commit is contained in:
commit
ef60688704
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user