aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 2f3ffbc0b..035421081 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -181,6 +181,7 @@ def audit_formula_urls f
end
urls = [(f.url rescue nil), (f.head rescue nil)].reject {|p| p.nil?}
+ urls.uniq! # head-only formulae result in duplicate entries
f.mirrors.each do |m|
mirror = m.values_at :url