diff options
| author | Elliot Saba | 2013-02-01 18:02:09 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-01 18:36:38 -0800 |
| commit | 7da376a50c5f7982b7089de4129d09c8cf57cb3f (patch) | |
| tree | 360012319473784b7e454534a398be47a40f9aed /Library/Homebrew | |
| parent | 64eba71cb2bb5068e3757133f69899d299c01fe7 (diff) | |
| download | brew-7da376a50c5f7982b7089de4129d09c8cf57cb3f.tar.bz2 | |
Update `tap --repair` function to ignore non-directory files in Library/Taps/
Closes Homebrew/homebrew#17518.
Closes Homebrew/homebrew#17511.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -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 |
