We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e6546 commit 264b736Copy full SHA for 264b736
tool/missing-baseruby.bat
@@ -1,6 +1,15 @@
1
: "
2
-@echo off
+@echo off || (
3
+ :warn
4
+ echo>&2.%~1
5
+ goto :eof
6
+ :abort
7
+ exit /b 1
8
+)
9
-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
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