diff options
-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 |