aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-25 16:14:03 +0000
committerMike McQuaid2014-03-25 16:14:03 +0000
commit5e82a819175eea1eac43816d5e184bc4005e7edf (patch)
treedd0e8932f4f5e1fa10ee6b283939a084de2e1ae0 /Library
parentf890e4973840a66a522189c8e5530bff61d17162 (diff)
downloadhomebrew-5e82a819175eea1eac43816d5e184bc4005e7edf.tar.bz2
audit: don't warn about tarball in non-GitHub URL.
Diffstat (limited to 'Library')
-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