From 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 28 Jan 2020 09:18:12 +0900 Subject: [PATCH] Skip empty directories to install [Bug #16596] --- tool/rbinstall.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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?