summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-sha.bat
blob: 1eaffc0a15765bb24cc64c18a8234844a19475a4 (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
)