aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-11 13:36:26 -0800
committerAdam Vandenberg2011-03-12 11:55:11 -0800
commitbcf8bb5a7ff3a8367cf2a47d51456db45a2627d3 (patch)
treeb4a962e5c8636c566c771c3180d74bc95f253c17 /Library
parent87398e743693942f78285c158d46f9c1502d2002 (diff)
downloadbrew-bcf8bb5a7ff3a8367cf2a47d51456db45a2627d3.tar.bz2
brew cleanup - fix formula name in warning
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 7c6505cc7..f1d4ba68b 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -8,6 +8,8 @@ module Homebrew extend self
begin
cleanup_formula rack.basename.to_s if rack.directory?
rescue FormulaUnavailableError => e
+ # Don't complain about Cellar folders that are from DIY installs
+ # instead of core formulae.
end
end
# seems like a good time to do some additional cleanup
@@ -34,7 +36,7 @@ module Homebrew extend self
elsif rack.children.length > 1
# If the cellar only has one version installed, don't complain
# that we can't tell which one to keep.
- opoo "Skipping #{name}: most recent version #{f.version} not installed"
+ opoo "Skipping #{f.name}: most recent version #{f.version} not installed"
end
end