1
0
Fork 0
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:
Nobuyoshi Nakada 2020-01-28 09:18:12 +09:00
parent 0b2c7473dd
commit 33d02e6bc7
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

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