aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorJack Nagel2013-05-15 12:45:37 -0500
committerJack Nagel2013-05-15 12:56:59 -0500
commit5d74f1ea3fb0d3638691eb4bd72eccc8deb22f6e (patch)
treea2f4dd2ef0c06ba9873ec2180799c938e9ab5e77 /Library/Homebrew/cmd/cleanup.rb
parent2ec0fca0f7d47be2918b0a91c6de8a891ce0a233 (diff)
downloadhomebrew-5d74f1ea3fb0d3638691eb4bd72eccc8deb22f6e.tar.bz2
cleanup: use Pathname#rmtree instead of FileUtils
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 8d3d782d1..3e56f28c5 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -42,7 +42,7 @@ module Homebrew extend self
puts "Would remove: #{keg}"
else
puts "Removing: #{keg}..."
- rm_rf keg
+ keg.rmtree
end
else
opoo "Skipping (old) #{keg} due to it being linked"