summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-sha.bat
blob: 6559a191201c2d4f8568368fa36ad95e6960b205 (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" 2>NUL
) else (
  rem echo this script does not work with cmd.exe. please, install bash
  echo unknown
  exit 1
)