1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2007-06-10 08:47:49 +00:00
parent 30dbd2a6ba
commit 79a74f5ec1
2 changed files with 6 additions and 0 deletions

View file

@ -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]

View file

@ -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