From 603bcb6cc80c3a725868766a8ee3a9a7b284d56d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 7 Feb 2013 15:34:13 -0600 Subject: [PATCH] audit: allow alpha.gnu.org URLs --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 723400a726..c8ebad17a4 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