Skip to content

Commit 264b736

Browse files
committed
Preserve spaces in messages [ci skip]
1 parent a3e6546 commit 264b736

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

tool/missing-baseruby.bat

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
: "
2-
@echo off
2+
@echo off || (
3+
:warn
4+
echo>&2.%~1
5+
goto :eof
6+
:abort
7+
exit /b 1
8+
)
39
: "
4-
echo>&2 executable host ruby is required. use --with-baseruby option.
5-
echo>&2 Note that BASERUBY must be Ruby 2.7.0 or later.
6-
exit 1
10+
: ; call:warn() { echo "$1" >&2; }
11+
: ; call:abort () { exit 1; }
12+
13+
call:warn "executable host ruby is required. use --with-baseruby option."
14+
call:warn "Note that BASERUBY must be Ruby 2.7.0 or later."
15+
call:abort

0 commit comments

Comments
 (0)