From 0445318494be594070577542c2501738b41a9db6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 1 Jun 2014 15:27:03 -0500 Subject: [PATCH] Remove no-op directory traversal --- Library/Homebrew/download_strategy.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 67b47e7a60..ce7367398a 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