link post-receive script to the -with-diffs version
[infrastructure.git] / scripts / git-check.sh
index 43f2c5d..7355f7a 100755 (executable)
@@ -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 ""
 }