diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-28 09:18:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-28 10:04:25 +0900 |
commit | 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d (patch) | |
tree | 5d82a676c896590cac8ce602d666c5ee8efc4724 | |
parent | 0b2c7473ddf683a4af7606e70d01b7216a527366 (diff) | |
download | ruby-33d02e6bc7502c5a3f09c59908a8c9f08a474b8d.tar.gz |
Skip empty directories to install [Bug #16596]
-rwxr-xr-x | tool/rbinstall.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 28fa95e51c..e5c34b5908 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -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? |