diff options
| author | Peter Aronoff | 2013-03-15 09:50:38 -0400 | 
|---|---|---|
| committer | Jack Nagel | 2013-03-16 16:27:46 -0500 | 
| commit | c9563cce957c69ae3bfc150ff0ca83bc60fc3e03 (patch) | |
| tree | 822b9b09c44939e00dfab44a0e33a0faf4768c39 /Library/Homebrew/cmd/update.rb | |
| parent | e4630164284de3ea5347b2338000795773756d86 (diff) | |
| download | brew-c9563cce957c69ae3bfc150ff0ca83bc60fc3e03.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 Homebrew/homebrew#18495.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
| -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  | 
