diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-10 08:47:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-10 08:47:49 +0000 |
commit | 79a74f5ec19b67798e2b8a5860ed6eb6d9828d31 (patch) | |
tree | 0f4b42e23545828b5a58a794eaa6398d728e5919 | |
parent | 30dbd2a6baedd027a8db5f9825d9614d79c3b9d1 (diff) | |
download | ruby-79a74f5ec19b67798e2b8a5860ed6eb6d9828d31.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | instruby.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sun Jun 10 17:49:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * instruby.rb (install_recursive): should check parent directoris of + the destination. [ruby-dev:30947] + Sun Jun 10 16:59:39 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * 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 |