mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip empty directories to install [Bug #16596]
This commit is contained in:
parent
0b2c7473dd
commit
33d02e6bc7
1 changed files with 2 additions and 1 deletions
|
@ -261,7 +261,8 @@ def install_recursive(srcdir, dest, options = {})
|
|||
end
|
||||
for src, d, dir in found
|
||||
if dir
|
||||
makedirs(d)
|
||||
next
|
||||
# makedirs(d)
|
||||
else
|
||||
makedirs(d[/.*(?=\/)/m])
|
||||
if block_given?
|
||||
|
|
Loading…
Reference in a new issue