git-hooks: Allow running the precommit hook in Windows

Windows based Python does not install a python3 executable, that one is
managed by the Microsoft Store as an alias exclusively.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4968>
This commit is contained in:
L. E. Segovia 2023-07-04 16:55:38 -03:00 committed by GStreamer Marge Bot
parent 139f6ab82a
commit 3dc1b12f13

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
import os
import subprocess
import sys