diff options
| author | Jack Nagel | 2011-11-15 18:06:26 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-11-15 18:06:26 -0600 |
| commit | ebfa4d5dc0a0ea1e6a719a6f6c2c9ec38088b473 (patch) | |
| tree | 494e0f08c4469341427ea8263287875bdfbabb21 /Library | |
| parent | f2b43831f5e6852b30b1bb03a69dfe38c5b66d18 (diff) | |
| download | brew-ebfa4d5dc0a0ea1e6a719a6f6c2c9ec38088b473.tar.bz2 | |
audit: don't check duplicate URLs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 1 |
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 |
