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

ruby-changes:45254

From: nobu <ko1@a...>
Date: Sat, 14 Jan 2017 15:13:29 +0900 (JST)
Subject: [ruby-changes:45254] nobu:r57327 (trunk): fix up r57322

nobu	2017-01-14 15:13:23 +0900 (Sat, 14 Jan 2017)

  New Revision: 57327

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

  Log:
    fix up r57322
    
    * tool/rbinstall.rb: ruby_install_name is used too.

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 57326)
+++ tool/rbinstall.rb	(revision 57327)
@@ -443,7 +443,8 @@ else https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L443
   PROLOG_SCRIPT = nil
 end
 
-$script_installer = Struct.new(:ruby_shebang, :ruby_bin, :stub, :trans, :prebatch, :postbatch) do
+$script_installer = Struct.new(:ruby_shebang, :ruby_bin, :ruby_install_name,
+                               :stub, :trans, :prebatch, :postbatch) do
   ruby_shebang = File.join(bindir, ruby_install_name)
   if File::ALT_SEPARATOR
     ruby_bin = ruby_shebang.tr(File::SEPARATOR, File::ALT_SEPARATOR)
@@ -516,7 +517,7 @@ $script_installer = Struct.new(:ruby_she https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L517
     end
   end
 
-  break new(ruby_shebang, ruby_bin, stub, trans, prebatch, postbatch)
+  break new(ruby_shebang, ruby_bin, ruby_install_name, stub, trans, prebatch, postbatch)
 end
 
 install?(:local, :comm, :bin, :'bin-comm') do

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

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