Skip to content

Commit

Permalink
cleanup: fix 1.8.6 compatibilty issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Dec 19, 2012
1 parent 6480238 commit abc1bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/cleanup.rb
Expand Up @@ -94,7 +94,7 @@ def can_cleanup?
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") }.
Expand Down

0 comments on commit abc1bd2

Please sign in to comment.