1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Comment in sh needs to be the beginning of a word

This commit is contained in:
Nobuyoshi Nakada 2021-02-11 22:18:11 +09:00
parent 6eb5b3ac27
commit 8544f51ef7
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -471,7 +471,7 @@ PROLOG_SCRIPT["cmd"] = <<EOS
:""||{ ""=> %q<-*- ruby -*- :""||{ ""=> %q<-*- ruby -*-
@"%~dp0#{ruby_install_name}" -x "%~f0" %* @"%~dp0#{ruby_install_name}" -x "%~f0" %*
@exit /b %ERRORLEVEL% @exit /b %ERRORLEVEL%
};{#\n#{prolog_script.gsub(/(?=\n)/, ' #')}>,\n} };{ #\n#{prolog_script.gsub(/(?=\n)/, ' #')}>,\n}
EOS EOS
PROLOG_SCRIPT.default = (load_relative || /\s/ =~ bindir) ? PROLOG_SCRIPT.default = (load_relative || /\s/ =~ bindir) ?
<<EOS : PROLOG_SCRIPT["exe"] <<EOS : PROLOG_SCRIPT["exe"]