summaryrefslogtreecommitdiffstats
path: root/scripts/install-git-hooks.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-11-05 19:36:20 +0100
committerFlorian Pritz <bluewind@xinu.at>2016-11-05 19:36:20 +0100
commit6b9278cd471a0d4c6140069c765662a5ea1de838 (patch)
tree49fe19de4b7a1dbe3310da9f8cd8b9755f2c459b /scripts/install-git-hooks.sh
parent6927879992e94a3721dcbbd87e4b22fd5adfa074 (diff)
install-git-hooks.sh: Add missing -s to ln
Broken in 9efd2db81ccf987a5455e0e4575c7d3f9072870f Signed-off-by: Florian Pritz <bluewind@xinu.at>
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