diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 9627f09adb..9984caa164 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -390,16 +390,8 @@ else end if $extout - RbConfig.expand(extout = "#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir)) - if $install - dest = RbConfig.expand($rubylibdir.dup) - unless $destdir.empty? - dest.sub!($dest_prefix_pattern, RbConfig.expand($destdir.dup)) - end - FileUtils.cp_r(extout+"/.", dest, :remove_destination => true, :verbose => true, :noop => $dryrun) - exit - end unless $ignore + RbConfig.expand(extout = "#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir)) FileUtils.mkpath(extout) end end |