summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-sha.bat
blob: 390e2d99d05a13e08a2528935074e2a66868c42e (plain) (blame)
1
2
3
4
5
6
7
8
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
)