summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 08:47:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 08:47:49 +0000
commit79a74f5ec19b67798e2b8a5860ed6eb6d9828d31 (patch)
tree0f4b42e23545828b5a58a794eaa6398d728e5919 /instruby.rb
parent30dbd2a6baedd027a8db5f9825d9614d79c3b9d1 (diff)
* 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
Diffstat (limited to 'instruby.rb')
-rwxr-xr-xinstruby.rb1
1 files changed, 1 insertions, 0 deletions
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