diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:39:02 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:39:02 +0000 |
commit | f534b398a5c90be4ad68c40a0e4fe37151a2c7d1 (patch) | |
tree | 234c70d2141b2337dfdc619b165a30ee5e7590fa | |
parent | 2c8151010ea62e4c274798e993e77bcbb3f2d386 (diff) | |
download | ruby-f534b398a5c90be4ad68c40a0e4fe37151a2c7d1.tar.gz |
* ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/extmk.rb.in | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net> + + * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse. + Fri Mar 22 16:22:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> * the VMS support patch submitted by Akiyoshi, Masamichi diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index dd7cabfc98..7e1a1b2fb2 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -40,6 +40,7 @@ $:.replace [$topdir, $top_srcdir, $top_srcdir+"/lib", "."] require 'rbconfig.rb' require 'find' +require 'ftools' def rm_f(*files) targets = [] @@ -623,7 +624,7 @@ def extmake(target) begin dir = Dir.pwd - Dir.mkdir target unless File.directory?(target) + File.mkpath target unless File.directory?(target) Dir.chdir target $target = target $mdir = target |