summaryrefslogtreecommitdiffstats
path: root/scripts/install-git-hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install-git-hooks.sh')
-rwxr-xr-xscripts/install-git-hooks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-git-hooks.sh b/scripts/install-git-hooks.sh
index fe898c76b..1a4113f8d 100755
--- a/scripts/install-git-hooks.sh
+++ b/scripts/install-git-hooks.sh
@@ -14,5 +14,5 @@ for hook in $HOOK_NAMES; do
# create the symlink, overwriting the file if it exists
# probably the only way this would happen is if you're using an old version of git
# -- back when the sample hooks were not executable, instead of being named ____.sample
- ln -f ../../scripts/hooks-wrapper.sh $HOOK_DIR/$hook
+ ln -s -f ../../scripts/hooks-wrapper.sh $HOOK_DIR/$hook
done