aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-11-30 12:57:29 -0600
committerJack Nagel2011-11-30 12:57:29 -0600
commit1657bb1fcf074f14fb7ceaa4a4d8c964563c6105 (patch)
tree41c52e01daedceb4b8aeef22985f80382fcb47d5 /Library
parentf059e9624cf108115128d69d1dc2d1862e860efc (diff)
downloadbrew-1657bb1fcf074f14fb7ceaa4a4d8c964563c6105.tar.bz2
audit: disable GNU url check
It needs to be reworked to only check the primary URLs, as we are now using ftp.gnu.org as a mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 37ad88dd8..31c0fbaeb 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -237,11 +237,12 @@ def audit_formula_urls f
end
# Check GNU urls
- urls.each do |p|
- if p =~ %r[^(https?|ftp)://(.+)/gnu/]
- problems << " * \"ftpmirror.gnu.org\" is preferred for GNU software."
- end
- end
+ # FIXME only check primary URLs, not mirrors
+ # urls.each do |p|
+ # if p =~ %r[^(https?|ftp)://(.+)/gnu/]
+ # problems << " * \"ftpmirror.gnu.org\" is preferred for GNU software."
+ # end
+ # end
return problems
end