summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-sha.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/get-scala-commit-sha.bat')
-rw-r--r--tools/get-scala-commit-sha.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/get-scala-commit-sha.bat b/tools/get-scala-commit-sha.bat
new file mode 100644
index 0000000000..390e2d99d0
--- /dev/null
+++ b/tools/get-scala-commit-sha.bat
@@ -0,0 +1,9 @@
+@echo off
+for %%X in (bash.exe) do (set FOUND=%%~$PATH:X)
+if defined FOUND (
+ bash "%~dp0\get-scala-commit-sha"
+) else (
+ rem echo this script does not work with cmd.exe. please, install bash
+ echo unknown
+ exit 1
+) \ No newline at end of file