mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
13 lines
226 B
Text
13 lines
226 B
Text
|
#!/bin/sh
|
||
|
|
||
|
PYTHON="python3"
|
||
|
if [[ $OS =~ Windows ]]; then
|
||
|
if type -p py &>/dev/null; then
|
||
|
PYTHON="py -3"
|
||
|
elif type -p python &>/dev/null; then
|
||
|
PYTHON="python"
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
$PYTHON "`dirname $0`/pre-commit-python.hook"
|