[前][次][番号順一覧][スレッド一覧]

ruby-changes:38005

From: nobu <ko1@a...>
Date: Wed, 25 Mar 2015 16:07:40 +0900 (JST)
Subject: [ruby-changes:38005] nobu:r50086 (trunk): make-snapshot: RUBY_VERSION

nobu	2015-03-25 16:07:23 +0900 (Wed, 25 Mar 2015)

  New Revision: 50086

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50086

  Log:
    make-snapshot: RUBY_VERSION
    
    * tool/make-snapshot (package): override RUBY_VERSION to proceed
      with different version ruby.

  Modified files:
    trunk/tool/make-snapshot
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 50085)
+++ tool/make-snapshot	(revision 50086)
@@ -245,6 +245,8 @@ def package(vcs, rev, destdir, tmp = nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L245
       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..."

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]