From 9efd2db81ccf987a5455e0e4575c7d3f9072870f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 1 Nov 2016 17:25:31 +0100 Subject: scripts/install-git-hooks.sh: Drop ln -r to support busybox ln Signed-off-by: Florian Pritz --- scripts/install-git-hooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-24-g4f1b