From 1e51ccb30d0a8bcbbb843d2cff1739cfdc94e38b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Dec 2012 12:00:05 -0600 Subject: cleanup: fix 1.8.6 compatibilty issue Fixes Homebrew/homebrew#16655. --- Library/Homebrew/cmd/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index c370c5423..59f47493f 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -94,7 +94,7 @@ class Formula elsif opt_prefix.directory? # SHA records were added to INSTALL_RECEIPTS the same day as opt symlinks !Formula.installed. - select{ |ff| ff.deps.map(&:to_s).include? name }. + select{ |ff| ff.deps.map{ |d| d.to_s }.include? name }. map{ |ff| ff.rack.children rescue [] }. flatten. map{ |keg_path| Tab.for_keg(keg_path).send("HEAD") }. -- cgit v1.2.3