mirror of
https://github.com/godotengine/godot
synced 2024-09-05 20:29:46 +00:00
Change shebang of pre-commit-clang-format hook to make it portable
The default one is "#!/bin/bash", but BSD systems doesn't have bash in that path. For portability reasons, it should be changed to "#!/usr/bin/env bash". More info: https://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability
This commit is contained in:
parent
4f1b87265e
commit
52abf4ba84
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# git pre-commit hook that runs a clang-format stylecheck.
|
||||
# Features:
|
||||
|
|
Loading…
Reference in a new issue