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
|
end
|
||||||
for src, d, dir in found
|
for src, d, dir in found
|
||||||
if dir
|
if dir
|
||||||
makedirs(d)
|
next
|
||||||
|
# makedirs(d)
|
||||||
else
|
else
|
||||||
makedirs(d[/.*(?=\/)/m])
|
makedirs(d[/.*(?=\/)/m])
|
||||||
if block_given?
|
if block_given?
|
||||||
|
|
Loading…
Add table
Reference in a new issue