mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext_conf_builder.rb: use intermediate destdir always
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): it is impossible to predict which file will be installed to where, by the arguments, so use intermediate destination directory always. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9a4f037502
commit
4cbb8ea836
2 changed files with 15 additions and 1 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
Sun Mar 10 23:27:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
|
||||
it is impossible to predict which file will be installed to where,
|
||||
by the arguments, so use intermediate destination directory always.
|
||||
[Bug #7698]
|
||||
|
||||
Sun Mar 10 23:27:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
|
||||
it is impossible to predict which file will be installed to where,
|
||||
by the arguments, so use intermediate destination directory always.
|
||||
[Bug #7698]
|
||||
|
||||
Sun Mar 10 17:00:22 2013 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* complex.c: edited rdoc.
|
||||
|
|
|
@ -13,7 +13,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|||
FileEntry = FileUtils::Entry_ # :nodoc:
|
||||
|
||||
def self.build(extension, directory, dest_path, results, args=[])
|
||||
tmp_dest = Dir.mktmpdir(".gem.", ".") if File.identical?(dest_path, ".")
|
||||
tmp_dest = Dir.mktmpdir(".gem.", ".")
|
||||
|
||||
Tempfile.open %w"siteconf .rb", "." do |siteconf|
|
||||
siteconf.puts "require 'rbconfig'"
|
||||
|
|
Loading…
Add table
Reference in a new issue