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 4ae22fa79..fe898c76b 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 -r -s -f $SCRIPTS_DIR/hooks-wrapper.sh $HOOK_DIR/$hook
+ ln -f ../../scripts/hooks-wrapper.sh $HOOK_DIR/$hook
done