diff options
| author | Elliot Saba | 2013-02-01 18:02:09 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-01 18:36:38 -0800 |
| commit | 040bfcf5b24214bddfc3c3cb225b88bebf404d6c (patch) | |
| tree | 86540a18f2cdea0333c17207936f8cfd16de28de /Library | |
| parent | 5d54f60ac3c08ad92d61914a1718ee5f43b98979 (diff) | |
| download | homebrew-040bfcf5b24214bddfc3c3cb225b88bebf404d6c.tar.bz2 | |
Update `tap --repair` function to ignore non-directory files in Library/Taps/
Closes #17518.
Closes #17511.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index ecc5ab270..06606cf9a 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -92,7 +92,7 @@ module Homebrew extend self # check symlinks are all set in each tap HOMEBREW_REPOSITORY.join("Library/Taps").children.each do |tap| files = [] - tap.find_formula{ |file| files << tap.basename.join(file) } + tap.find_formula{ |file| files << tap.basename.join(file) } if tap.directory? count += link_tap_formula(files) end |
