diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-21 03:12:45 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-21 03:12:45 +0000 |
| commit | 806955059814aae1b3b25678b453aae224d53c0d (patch) | |
| tree | 3ffc3e2017249b773ccc58ae649a65f6fe2d9127 /ext | |
| parent | 9713ea1dd1f32892c657a83d0572b01a7c7c84e5 (diff) | |
| download | ruby-806955059814aae1b3b25678b453aae224d53c0d.tar.gz ruby-806955059814aae1b3b25678b453aae224d53c0d.tar.xz ruby-806955059814aae1b3b25678b453aae224d53c0d.zip | |
* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
prepending destdir on DOSISH.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/extmk.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 5badcc755..bbcb3c09b 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -382,7 +382,10 @@ end if $extout Config.expand(extout = "#$extout", Config::CONFIG.merge("topdir"=>$topdir)) if $install - Config.expand(dest = "#{$destdir}#{$rubylibdir}") + dest = Config.expand($rubylibdir.dup) + unless $destdir.empty? + dest.sub!($dest_prefix_pattern, Config.expand($destdir.dup)) + end FileUtils.cp_r(extout+"/.", dest, :verbose => true, :noop => $dryrun) exit end |
