diff options
| author | Mike McQuaid | 2017-09-12 15:48:11 +0100 | 
|---|---|---|
| committer | GitHub | 2017-09-12 15:48:11 +0100 | 
| commit | ef6068870472496f7b6c2766f2197e5c81d393b5 (patch) | |
| tree | c75d3217de0a5c995f007ededd78efa76c373bab /Library/Homebrew/dev-cmd/audit.rb | |
| parent | 66d5b06bbd33d75495233307030d07ff9e13f988 (diff) | |
| parent | 9562cceef15977306c9664f4f19892992a63e44a (diff) | |
| download | brew-ef6068870472496f7b6c2766f2197e5c81d393b5.tar.bz2 | |
Merge pull request #3126 from DomT4/curl_audit
audit: stop demanding a HTTP HEAD mirror for curl
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -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 24e0eb4ff..bec035567 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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  | 
