diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-14 06:13:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-14 06:13:23 +0000 |
commit | c850c4ad37573037a6c202acbd50150b48c356c8 (patch) | |
tree | 992fa742ec86842eff1d8b94c0acf5a551ae03ee | |
parent | 8b8505d239f844424b0f1d04032dc74c69c945a3 (diff) | |
download | ruby-c850c4ad37573037a6c202acbd50150b48c356c8.tar.gz |
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
-rwxr-xr-x | tool/rbinstall.rb | 5 |
1 files changed, 3 insertions, 2 deletions
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 |