summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-11-01 17:25:31 +0100
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:26:18 +0100
commit9efd2db81ccf987a5455e0e4575c7d3f9072870f (patch)
treede79a46c398e9dc38f05b05a8eb4bdb91607e1d5
parent6a536301c6290dabbd1adffda80f068f04108c23 (diff)
scripts/install-git-hooks.sh: Drop ln -r to support busybox ln
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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