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
commit014aadd20e9188f4c288e10c7db1c94d136e3fba (patch)
tree0c3ab973d68abbc3a760bf231bc9fe6c116801fe /Library
parent164c57f284aa254a96935bb75ca5f25cf4e50714 (diff)
downloadhomebrew-014aadd20e9188f4c288e10c7db1c94d136e3fba.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