ruby-changes:59822
From: Nobuyoshi <ko1@a...>
Date: Tue, 28 Jan 2020 10:05:32 +0900 (JST)
Subject: [ruby-changes:59822] 33d02e6bc7 (master): Skip empty directories to install [Bug #16596]
https://git.ruby-lang.org/ruby.git/commit/?id=33d02e6bc7 From 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 28 Jan 2020 09:18:12 +0900 Subject: Skip empty directories to install [Bug #16596] diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 28fa95e..e5c34b5 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -261,7 +261,8 @@ def install_recursive(srcdir, dest, options = {}) https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L261 end for src, d, dir in found if dir - makedirs(d) + next + # makedirs(d) else makedirs(d[/.*(?=\/)/m]) if block_given? -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/