mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
69a2df4eb6
commit
cfa98ab2eb
1 changed files with 2 additions and 0 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue