#!/bin/sh REPOS="$1" REV="$2" #env LANG=ja_JP.eucJP ${REPOS}/hooks/email-send.rb "$REPOS" "REV" export LANG=ja_JP.UTF-8 LOG=`/usr/local/bin/svnlook log -r $REV $REPOST` AUTHOR=`/usr/local/bin/svnlook author -r $REV $REPOS` TRAC_ENV="/home/tracroot/project/xxxxx" TRAC_URL="http://xxxx.xxxx.xxxx.xxxx.xxx/project/xxxxxx" /usr/bin/python ${REPOS}/hooks/trac-post-commit-hook \ -p "$TRAC_ENV" \ -r "$REV" \ -u "AUTHOR" \ -m "$LOG" \ -s "$TRAC_URL"