summaryrefslogtreecommitdiffstats
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
commit4bc4f9543a285a1cf3ab563a9e40dc33c522aa8f (patch)
tree0f4b42e23545828b5a58a794eaa6398d728e5919 /instruby.rb
parentf63c7b7cc7977e9661c3fdb72ff3d938be7154c9 (diff)
downloadruby-4bc4f9543a285a1cf3ab563a9e40dc33c522aa8f.tar.gz
ruby-4bc4f9543a285a1cf3ab563a9e40dc33c522aa8f.tar.xz
ruby-4bc4f9543a285a1cf3ab563a9e40dc33c522aa8f.zip
* instruby.rb (install_recursive): should check parent directoris of
the destination. [ruby-dev:30947] git-svn-id: http://svn.ruby-lang.org/repos/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 91ff79dfb..a4c456346 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