Commit f2c0f018 authored by Marco Bomben's avatar Marco Bomben Committed by Simon Spannagel
Browse files

back to original version of install-hooks.sh

(cherry picked from commit 26292e67)
parent aaf11eb9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@ REPLACE=("pre-commit-clang-format" "pre-push-tag-version")
WARNING=("pre-commit" "pre-push")

SRCDIR=$(git rev-parse --show-toplevel)/etc/git-hooks
#TGTDIR=$(readlink -f $(git rev-parse --git-dir))/hooks
TGTDIR=$(stat -f $(git rev-parse --git-dir))/hooks
TGTDIR=$(readlink -f $(git rev-parse --git-dir))/hooks

##---