ruby-changes:60386
From: Nobuyoshi <ko1@a...>
Date: Fri, 13 Mar 2020 22:09:22 +0900 (JST)
Subject: [ruby-changes:60386] 047dfbdf69 (ruby_2_7): Skip empty directories to install [Bug #16596]
https://git.ruby-lang.org/ruby.git/commit/?id=047dfbdf69 From 047dfbdf69e1a300109c729c66b6a761032402dd 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] (cherry picked from commit 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d) 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/