зеркало из https://github.com/github/ruby.git
rbinstall.rb: no CR
* tool/rbinstall.rb (bin-comm): no CR at EOF in batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e783dcd8ce
Коммит
8f2683ede5
|
@ -490,7 +490,7 @@ install?(:local, :comm, :bin, :'bin-comm') do
|
|||
when "exe"
|
||||
stub + shebang + body
|
||||
when "bat"
|
||||
[<<-"EOH".gsub(/^\s+/, ''), shebang, body, "__END__\n:endofruby\n"].join.gsub(/$/, "\r")
|
||||
[<<-"EOH".gsub(/^\s+/, ''), shebang, body, "__END__\n:endofruby\n"].join.gsub(/(?=\n)/, "\r")
|
||||
@echo off
|
||||
@if not "%~d0" == "~d0" goto WinNT
|
||||
#{ruby_bin} -x "#{cmd}" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
|
|
Загрузка…
Ссылка в новой задаче