1
0
Fork 0
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:
nobu 2015-03-25 07:07:23 +00:00
parent 69a2df4eb6
commit cfa98ab2eb

View file

@ -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..."