aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorJack Nagel2012-09-20 16:47:00 -0500
committerJack Nagel2012-09-20 16:47:00 -0500
commite4aec6e2d76d3ddd2383df4392db7c6c03abd77b (patch)
tree334ab39f96b2ca97cdc28447c6ac52ba939084aa /Library/Homebrew/cmd/cleanup.rb
parentc6c1dce424f2b232b71ceff1321e0401060f3e9f (diff)
downloadhomebrew-e4aec6e2d76d3ddd2383df4392db7c6c03abd77b.tar.bz2
cleanup: look for "HEAD", not "sha" in receipt
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 962567485..1ad60882a 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -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