aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-01 15:27:03 -0500
committerJack Nagel2014-06-01 15:27:40 -0500
commit0445318494be594070577542c2501738b41a9db6 (patch)
tree37aa34b58de0b4eef8d413103ddba9714641bed6 /Library
parent90526f92eb144963bfaa2ac419feb63a6064ee89 (diff)
downloadbrew-0445318494be594070577542c2501738b41a9db6.tar.bz2
Remove no-op directory traversal
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 67b47e7a6..ce7367398 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -653,14 +653,6 @@ class CVSDownloadStrategy < VCSDownloadStrategy
def stage
FileUtils.cp_r Dir[@clone+"{.}"], Dir.pwd
-
- require 'find'
- Find.find(Dir.pwd) do |path|
- if FileTest.directory?(path) && File.basename(path) == "CVS"
- Find.prune
- FileUtil.rm_r path, :force => true
- end
- end
end
private