diff options
Diffstat (limited to 'tool')
-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 |