[rubygems/rubygems] Use FileUtils.mkdir_p
https://github.com/rubygems/rubygems/commit/af806b8dff
This commit is contained in:
parent
cb9e0a4537
commit
a52fc5df7a
@ -421,7 +421,7 @@ module Spec
|
|||||||
build_path = @context.tmp + full_name
|
build_path = @context.tmp + full_name
|
||||||
bundler_path = build_path + "#{full_name}.gem"
|
bundler_path = build_path + "#{full_name}.gem"
|
||||||
|
|
||||||
Dir.mkdir build_path unless File.directory?(build_path)
|
FileUtils.mkdir_p build_path
|
||||||
|
|
||||||
@context.shipped_files.each do |shipped_file|
|
@context.shipped_files.each do |shipped_file|
|
||||||
target_shipped_file = shipped_file
|
target_shipped_file = shipped_file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user