diff options
| author | Peter Aronoff | 2013-03-15 09:50:38 -0400 |
|---|---|---|
| committer | Jack Nagel | 2013-03-16 16:27:46 -0500 |
| commit | 59c0b3f916c9a2bd141bc4a79199fa720c88f04f (patch) | |
| tree | 854dedf86e18cc9032a647b33a19cddda3e5e2c1 /Library | |
| parent | b73ef42a62d94f23eb9f55ffd80addf3aa93d181 (diff) | |
| download | homebrew-59c0b3f916c9a2bd141bc4a79199fa720c88f04f.tar.bz2 | |
Fix `brew update` so that it doesn't show doubles
Under certain conditions, `brew update` will show doubles. It's a rare
edge-case, but if you have a tap where the name of the formula is identical
with the name of the insalled file, then you see output like this:
==> Updated Formulae
aalib ssh-copy-id
casperjs sshuttle
jack telemachus/anytap/brew-any-tap
mogenerator telemachus/anytap/brew-any-tap
I believe this should fix that.
Closes #18495.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index 838351e68..95125d33c 100644 --- a/Library/Homebrew/cmd/update.rb +++ b/Library/Homebrew/cmd/update.rb @@ -182,7 +182,7 @@ class Report < Hash formula = select_formula(key) unless formula.empty? ohai title - puts_columns formula + puts_columns formula.uniq end end |
