Fix typo in "resources/hook-tmpl"

This commit is contained in:
Josef Kubíček 2021-12-03 10:39:12 +01:00
parent a737d5fe2f
commit fbe7e8ce4e

View file

@ -11,7 +11,7 @@ HERE="$(cd "$(dirname "$0")" && pwd)"
ARGS+=(--hook-dir "$HERE" -- "$@") ARGS+=(--hook-dir "$HERE" -- "$@")
if [ -x "$INSTALL_PYTHON" ]; then if [ -x "$INSTALL_PYTHON" ]; then
exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}" exec "$INSTALL_PYTHON" -m pre_commit "${ARGS[@]}"
elif command -v pre-commit > /dev/null; then elif command -v pre-commit > /dev/null; then
exec pre-commit "${ARGS[@]}" exec pre-commit "${ARGS[@]}"
else else