summaryrefslogtreecommitdiff
path: root/lib/fileutils.rb
diff options
context:
space:
mode:
-rw-r--r--lib/fileutils.rb8
1 files changed, 0 insertions, 8 deletions
@@ -211,14 +211,6 @@ module FileUtils
list.each do |item|
path = remove_trailing_slash(item)
- # optimize for the most common case
- begin
- fu_mkdir path, mode
- next
- rescue SystemCallError
- next if File.directory?(path)
- end
-
stack = []
until File.directory?(path)
stack.push path