diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-03 12:24:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-03 12:24:53 +0000 |
commit | 192fcacebf45f6344a5edf6d560f88ef3883273b (patch) | |
tree | 02fe98837257c9488889ca0471f0a500563af448 /ext | |
parent | 469f1f7b491d58c26553ccf7d5cb60f5f48c7d39 (diff) | |
download | ruby-192fcacebf45f6344a5edf6d560f88ef3883273b.tar.gz |
* lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination
option.
* ext/extmk.rb: use :remove_destination to install extension libraries
to avoid SEGV.
[ruby-dev:28417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 8daf3ae38f..93f9a2fccd 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -381,7 +381,7 @@ if $extout RbConfig.expand(extout = "#$extout", RbConfig::CONFIG.merge("topdir"=>$topdir)) if $install RbConfig.expand(dest = "#{$destdir}#{$rubylibdir}") - FileUtils.cp_r(extout+"/.", dest, :verbose => true, :noop => $dryrun) + FileUtils.cp_r(extout+"/.", dest, :remove_destination => true, :verbose => true, :noop => $dryrun) exit end unless $ignore |