diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-15 09:26:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-15 09:28:44 +0900 |
commit | ff3704031a6c23ae2020576c4fecbdc6b1c91246 (patch) | |
tree | 6007a4f5bc587389f78e6f2d2490fd9885647ef3 /tool | |
parent | a1975790731e1e9081e41e05b43516065b7d950a (diff) | |
download | ruby-ff3704031a6c23ae2020576c4fecbdc6b1c91246.tar.gz |
Insert a newline before `=end`
For a certain editor which cannot handle here-document properly.
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/rbinstall.rb | 3 |
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) |