diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-01-18 18:09:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-01-18 18:09:42 +0900 |
commit | 264b7363aa7e47a7868b91038a0578970bc19c1f (patch) | |
tree | d9e5978e127c37615bf9de9cb6f8e7db689bc4bb | |
parent | a3e6546e7ef98b9734e2c69d73c1295b60bba395 (diff) |
Preserve spaces in messages [ci skip]
-rwxr-xr-x | tool/missing-baseruby.bat | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/tool/missing-baseruby.bat b/tool/missing-baseruby.bat index d5da5e1c72..9b65e79cfc 100755 --- a/tool/missing-baseruby.bat +++ b/tool/missing-baseruby.bat @@ -1,6 +1,15 @@ : " -@echo off +@echo off || ( + :warn + echo>&2.%~1 + goto :eof + :abort + exit /b 1 +) : " -echo>&2 executable host ruby is required. use --with-baseruby option. -echo>&2 Note that BASERUBY must be Ruby 2.7.0 or later. -exit 1 +: ; call:warn() { echo "$1" >&2; } +: ; call:abort () { exit 1; } + +call:warn "executable host ruby is required. use --with-baseruby option." +call:warn "Note that BASERUBY must be Ruby 2.7.0 or later." +call:abort |