aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2014-03-25 16:14:03 +0000
committerMike McQuaid2014-03-25 16:14:03 +0000
commit7846ed4f768ccdfebadf9f12130762efc9f5e348 (patch)
tree58d019f382f57bdb8439033e1fb1824b45bdd883 /Library/Homebrew
parent0d898edc3761dd2675d86c436a589be49407d55b (diff)
downloadbrew-7846ed4f768ccdfebadf9f12130762efc9f5e348.tar.bz2
audit: don't warn about tarball in non-GitHub URL.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 3fafa7f11..ed97b01a8 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -267,7 +267,7 @@ class FormulaAuditor
end
# Use new-style archive downloads
- urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u|
+ urls.select { |u| u =~ %r[https://.*github.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u|
problem "Use /archive/ URLs for GitHub tarballs (url is #{u})."
end