From 79a74f5ec19b67798e2b8a5860ed6eb6d9828d31 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 10 Jun 2007 08:47:49 +0000 Subject: [PATCH] * instruby.rb (install_recursive): should check parent directoris of the destination. [ruby-dev:30947] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ instruby.rb | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index fb7e11caf1..39d0c4b19f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 10 17:49:20 2007 Nobuyoshi Nakada + + * instruby.rb (install_recursive): should check parent directoris of + the destination. [ruby-dev:30947] + Sun Jun 10 16:59:39 2007 Nobuyoshi Nakada * parse.y (do_block, brace_block): fix line numbers. [ruby-dev:30831] diff --git a/instruby.rb b/instruby.rb index 91ff79dfb4..a4c4563467 100755 --- a/instruby.rb +++ b/instruby.rb @@ -142,6 +142,7 @@ def install_recursive(srcdir, dest, options = {}) if File.directory?(src) makedirs(d) else + makedirs(File.dirname(d)) install src, d end end