aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xinstruby.rb1
2 files changed, 6 insertions, 0 deletions
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 <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