mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/rubygems: Import RubyGems from master as of commit b165260
* test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66cc0fa4ab
commit
4c2304f000
34 changed files with 1169 additions and 597 deletions
|
@ -39,6 +39,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|||
run cmd, results
|
||||
|
||||
ENV["DESTDIR"] = nil
|
||||
ENV["RUBYOPT"] = rubyopt
|
||||
siteconf.unlink
|
||||
|
||||
make dest_path, results
|
||||
|
@ -49,14 +50,14 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|||
destent.exist? or File.rename(ent.path, destent.path)
|
||||
end
|
||||
end
|
||||
|
||||
results
|
||||
ensure
|
||||
ENV["RUBYOPT"] = rubyopt
|
||||
ENV["DESTDIR"] = destdir
|
||||
end
|
||||
end
|
||||
t.unlink if t
|
||||
t.unlink if t and t.path
|
||||
|
||||
results
|
||||
ensure
|
||||
FileUtils.rm_rf tmp_dest if tmp_dest
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue