From 7da376a50c5f7982b7089de4129d09c8cf57cb3f Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Fri, 1 Feb 2013 18:02:09 -0800 Subject: 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 --- Library/Homebrew/cmd/tap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3