diff options
| -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 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 |
