From c850c4ad37573037a6c202acbd50150b48c356c8 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 Jan 2017 06:13:23 +0000 Subject: fix up r57322 * tool/rbinstall.rb: ruby_install_name is used too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/rbinstall.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tool/rbinstall.rb') diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index f9dab91a5b..12e8463abc 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -443,7 +443,8 @@ else 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_shebang, :ruby_bin, :stub, :trans, :prebatc 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 -- cgit v1.2.3