Tap more than one formula from taps other than alt

Whoops.
This commit is contained in:
Max Howell 2012-03-16 21:31:18 +00:00
parent a2e84e5e57
commit ee73c30aa5

View File

@ -339,10 +339,12 @@ class Pathname
end
[self/:Formula, self/:HomebrewFormula, self].each do |d|
d.children.map{ |child| child.relative_path_from(self) }.each do |pn|
yield pn if pn.to_s =~ /.rb$/
if d.exist?
d.children.map{ |child| child.relative_path_from(self) }.each do |pn|
yield pn if pn.to_s =~ /.rb$/
end
break
end if d.exist?
end
end
end
end