Remove no-op directory traversal

This commit is contained in:
Jack Nagel 2014-06-01 15:27:03 -05:00
parent 90526f92eb
commit 0445318494

View File

@ -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