aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-02-07 15:34:13 -0600
committerJack Nagel2013-02-07 15:34:13 -0600
commit603bcb6cc80c3a725868766a8ee3a9a7b284d56d (patch)
tree8b02d17575aa091d34d5200cf433079a8aee4621 /Library/Homebrew/cmd
parentf227695465b5615fc9ca52fa138f9c9edb451856 (diff)
downloadbrew-603bcb6cc80c3a725868766a8ee3a9a7b284d56d.tar.bz2
audit: allow alpha.gnu.org URLs
Diffstat (limited to 'Library/Homebrew/cmd')
-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 723400a72..c8ebad17a 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -185,7 +185,7 @@ class FormulaAuditor
urls = [(f.stable.url rescue nil), (f.devel.url rescue nil), (f.head.url rescue nil)].compact
# Check GNU urls; doesn't apply to mirrors
- if urls.any? { |p| p =~ %r[^(https?|ftp)://(.+)/gnu/] }
+ if urls.any? { |p| p =~ %r[^(https?|ftp)://(?!alpha).+/gnu/] }
problem "\"ftpmirror.gnu.org\" is preferred for GNU software."
end