Files
tbd-station-14/BuildChecker/hooks/post-checkout
2021-05-05 14:30:46 +02:00

14 lines
279 B
Bash
Executable File

#!/bin/bash
gitroot=`git rev-parse --show-toplevel`
cd "$gitroot/BuildChecker"
if [[ `uname` == MINGW* || `uname` == CYGWIN* ]]; then
# Windows
py -3 git_helper.py --quiet
else
# Not Windows, so probably some other Unix thing.
python3 git_helper.py --quiet
fi