зеркало из https://github.com/github/ruby.git
make-snapshot: RUBY_VERSION
* tool/make-snapshot (package): override RUBY_VERSION to proceed with different version ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
69a2df4eb6
Коммит
cfa98ab2eb
|
@ -245,6 +245,8 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
f.puts "CROSS_COMPILING=true"
|
||||
f.puts "Object.__send__(:remove_const, :RUBY_PLATFORM)"
|
||||
f.puts "RUBY_PLATFORM='none'"
|
||||
f.puts "Object.__send__(:remove_const, :RUBY_VERSION)"
|
||||
f.puts "RUBY_VERSION='#{version}'"
|
||||
end
|
||||
unless File.exist?("configure")
|
||||
print "creating configure..."
|
||||
|
|
Загрузка…
Ссылка в новой задаче