summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-11 22:18:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-11 22:18:11 +0900
commit8544f51ef70b6b34aa6c81f5b52a4f05da464609 (patch)
treedb9a87121c379dd9dd7fe203e42cc439a580754b /tool
parent6eb5b3ac27ceebc0c6a1306678377c016552c9ad (diff)
Comment in sh needs to be the beginning of a word
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index b49d91fc3f..fece0c64f2 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -471,7 +471,7 @@ PROLOG_SCRIPT["cmd"] = <<EOS
:""||{ ""=> %q<-*- ruby -*-
@"%~dp0#{ruby_install_name}" -x "%~f0" %*
@exit /b %ERRORLEVEL%
-};{#\n#{prolog_script.gsub(/(?=\n)/, ' #')}>,\n}
+};{ #\n#{prolog_script.gsub(/(?=\n)/, ' #')}>,\n}
EOS
PROLOG_SCRIPT.default = (load_relative || /\s/ =~ bindir) ?
<<EOS : PROLOG_SCRIPT["exe"]