aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-25 07:07:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-25 07:07:23 +0000
commitcfa98ab2eb845e22f8fdc34ef32d0cc67e6a586e (patch)
tree6bd368cab54913479096eb1474c59e1af8640e04 /tool/make-snapshot
parent69a2df4eb6ad2e8066a9d0dd09c1bb869c49e9bd (diff)
downloadruby-cfa98ab2eb845e22f8fdc34ef32d0cc67e6a586e.tar.gz
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
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 15f223ee42..b583efca08 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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..."