git-hooks: use bash for pre-commit-invoke-python

Since it contains bashisms.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5091>
This commit is contained in:
Tim-Philipp Müller 2023-07-23 10:33:19 +01:00 committed by GStreamer Marge Bot
parent eb9be6de78
commit da3229d0cc

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
PYTHON="python3" PYTHON="python3"
if [[ $OS =~ Windows ]]; then if [[ $OS =~ Windows ]]; then