X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fgit-check.sh;fp=scripts%2Fgit-check.sh;h=92fada85cb335a49a21eccab7da7b92b9db95b09;hb=68ab965fb5d20f402645fc05258b31befc46b572;hp=a7f2ee5b2ef2e9c16000f3f0d4fc6c625f9048e9;hpb=2e9948bda0174cd71579a11c04d3552d6dee85c7;p=infrastructure.git diff --git a/scripts/git-check.sh b/scripts/git-check.sh index a7f2ee5..92fada8 100755 --- a/scripts/git-check.sh +++ b/scripts/git-check.sh @@ -78,7 +78,7 @@ function check_hooks () { git=${b}.git echo -n "$git " # standard version is in /usr/share/doc/git-1.5.5.6/hooks/post-receive-email - (cd $git/hooks; [ -h post-receive ] || ln -sf /root/bin/post-receive-email-with-diffs post-receive ) + (cd $git/hooks; cp -f /root/bin/post-receive-email-with-diffs post-receive ) done echo "" }