X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fgit-check.sh;fp=scripts%2Fgit-check.sh;h=7355f7a6bda6a871eaab064d88c32e6e1246f33c;hb=2628f7df869ba9af63402b18284d2fc46506f4fa;hp=43f2c5d8c1e8ab6fcb7ec4da3d8e4b6d22aacf2c;hpb=90df07f0d0dc32c3f3cbe8ad9577182532d756c8;p=infrastructure.git diff --git a/scripts/git-check.sh b/scripts/git-check.sh index 43f2c5d..7355f7a 100755 --- a/scripts/git-check.sh +++ b/scripts/git-check.sh @@ -76,7 +76,8 @@ function check_hooks () { b=$(basename $arg .git) git=${b}.git echo -n "$git " - (cd $git/hooks; [ -h post-receive ] || ln -sf /usr/share/doc/git-1.5.5.6/hooks/post-receive-email post-receive ) + # 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 ) done echo "" }