Permalink
Browse files

Allow for recursive formula search on any tap, not just adamv-alt

  • Loading branch information...
1 parent 11e6add commit 902e9ae33ee49f8b31b91da5c89356466e6c6ce8 @staticfloat committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/Homebrew/extend/pathname.rb
@@ -356,7 +356,7 @@ def all_formula pwd = self
def find_formula
# remove special casing once tap is established and alt removed
- if self == HOMEBREW_LIBRARY/"Taps/adamv-alt"
+ if self.to_s =~ %r{#{HOMEBREW_LIBRARY}/Taps/}
all_formula do |file|
yield file
end

0 comments on commit 902e9ae

Please sign in to comment.