#!/bin/sh # post commit hook -- called for normal commits # # The mailer is put into the background in order to # leave the script faster # # You need to adjust the config path # and the path to svn-mailer if necessary. CONFIG="/svn/gcc/hooks/svnmailer.conf" MAILER="/usr/bin/svn-mailer" REPOS="$1" REV="$2" "${MAILER}" --commit --config "${CONFIG}" \ --repository "${REPOS}" --revision "${REV}" --background ${REPOS}/hooks/synchooks.sh "${REPOS}" "${REV}"