cleanup: look for "HEAD", not "sha" in receipt

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-20 16:47:00 -05:00
parent 5adea8c1e1
commit 5ebf0416ce

View File

@ -86,7 +86,7 @@ class Formula
select{ |ff| ff.deps.map(&:to_s).include? name }.
map{ |ff| ff.rack.children rescue [] }.
flatten.
map{ |keg_path| Tab.for_keg(keg_path).sha }.
map{ |keg_path| Tab.for_keg(keg_path).send("HEAD") }.
include? nil
end
end