Skip to content

Commit

Permalink
Merge pull request #3126 from DomT4/curl_audit
Browse files Browse the repository at this point in the history
audit: stop demanding a HTTP HEAD mirror for curl
  • Loading branch information
MikeMcQuaid committed Sep 12, 2017
2 parents 66d5b06 + 9562cce commit ef60688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/audit.rb
Expand Up @@ -1176,7 +1176,7 @@ def audit_download_strategy
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

Expand Down

1 comment on commit ef60688

@vszakats
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.