From dfd4fbc566446df11c4ae85c3dd5913193690303 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 21 Jan 2016 14:39:32 +0100 Subject: [PATCH] feat(hooks): improve symlinks script --- symlink_git_hooks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/symlink_git_hooks.sh b/symlink_git_hooks.sh index c8a90432a70..9e272f82ed6 100755 --- a/symlink_git_hooks.sh +++ b/symlink_git_hooks.sh @@ -1,3 +1,5 @@ #/bin/bash -ln -s -f .hooks/* .git/hooks/ +#ln -s -f .hooks/* .git/hooks/ +cd .git/hooks/ +cp --symbolic-link -f ../../.hooks/* .