summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-06 21:27:35 +0100
committerGitHub <noreply@github.com>2018-03-06 21:27:35 +0100
commit1388ff5cbb9a1fbc4952dc71fa7f2bf208d13460 (patch)
tree410da097765e2b9c2d618c85cd8d44f354d39816
parent4f1b87265e1e74b1fdd0aa0aa59a9daf03fd3f40 (diff)
parent52abf4ba84b5a41ac9903af0ba1087bf18be2187 (diff)
Merge pull request #17315 from robfram/fix-git-hook-pre-commit-clang-format
Change shebang of pre-commit-clang-format hook to make it portable
-rwxr-xr-xmisc/hooks/pre-commit-clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format
index 8ef4e27748..016a43038b 100755
--- a/misc/hooks/pre-commit-clang-format
+++ b/misc/hooks/pre-commit-clang-format
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# git pre-commit hook that runs a clang-format stylecheck.
# Features: