diff options
| author | Jack Nagel | 2012-12-19 12:00:05 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-12-19 12:00:25 -0600 |
| commit | 1e51ccb30d0a8bcbbb843d2cff1739cfdc94e38b (patch) | |
| tree | 885917ca87875fcd8a18abda747b7d540b65c349 /Library/Homebrew/cmd/cleanup.rb | |
| parent | 93dca5fb38ef18d91007d8703fc1bc6fa93e9f0f (diff) | |
| download | brew-1e51ccb30d0a8bcbbb843d2cff1739cfdc94e38b.tar.bz2 | |
cleanup: fix 1.8.6 compatibilty issue
Fixes Homebrew/homebrew#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") }. |
