mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
8b8505d239
commit
c850c4ad37
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue