summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-15 09:26:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-15 09:28:44 +0900
commitff3704031a6c23ae2020576c4fecbdc6b1c91246 (patch)
tree6007a4f5bc587389f78e6f2d2490fd9885647ef3 /tool/rbinstall.rb
parenta1975790731e1e9081e41e05b43516065b7d950a (diff)
Insert a newline before `=end`
For a certain editor which cannot handle here-document properly.
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 427d69f0f6..9046249bfb 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -469,7 +469,8 @@ PROLOG_SCRIPT.default = (load_relative || /\s/ =~ bindir) ?
# -*- ruby -*-
_=_\\
=begin
-#{prolog_script}=end
+#{prolog_script.chomp}
+=end
EOS
installer = Struct.new(:ruby_shebang, :ruby_bin, :ruby_install_name, :stub, :trans)