diff options
| author | Mike McQuaid | 2015-08-13 10:34:45 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-08-13 10:34:45 +0100 |
| commit | 15c3fb32b26228b4cef2bb33863e8072ab270a41 (patch) | |
| tree | 597f3bbc3a0e5de6b3985e0b2dbe4fd33f739429 /Library/Homebrew/cmd | |
| parent | 04b350dce5d0ac7e87ab4b5882dd1a5f19f39a9d (diff) | |
| download | brew-15c3fb32b26228b4cef2bb33863e8072ab270a41.tar.bz2 | |
cleanup: remove SCM directories recursively.
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 eda8295d6..6c3b9ffbf 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -73,7 +73,7 @@ module Homebrew if path.file? cleanup_path(path) { path.unlink } elsif path.directory? && path.to_s.include?("--") - cleanup_path(path) { path.rmdir } + cleanup_path(path) { FileUtils.rm_rf path } end next end |
