aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index fce3d869e..1a57ab80a 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -178,6 +178,11 @@ def audit_formula_urls f
urls = [(f.url rescue nil), (f.head rescue nil)].reject {|p| p.nil?}
+ f.mirrors.each do |m|
+ mirror = m.values_at :url
+ urls << (mirror.to_s rescue nil)
+ end
+
# Check SourceForge urls
urls.each do |p|
# Is it a filedownload (instead of svnroot)