diff options
| author | Jack Nagel | 2012-12-19 12:00:05 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2012-12-19 12:00:25 -0600 | 
| commit | abc1bd27626b866349db0c6c537a128fdf518c79 (patch) | |
| tree | 29e6a349787bf9dd58302b3a3dc30b4bb64c0432 /Library/Homebrew/cmd/cleanup.rb | |
| parent | 64802387ba76464800a94da6b9df2783e21cc3f4 (diff) | |
| download | homebrew-abc1bd27626b866349db0c6c537a128fdf518c79.tar.bz2 | |
cleanup: fix 1.8.6 compatibilty issue
Fixes #16655.
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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") }. | 
