Author: dato-guest Date: 2004-11-07 15:51:01 -0700 (Sun, 07 Nov 2004) New Revision: 213
Modified: scripts/svn-hooks/post-commit Log: Update $HTDOCS_DIR and $SCRIPTS_DIR when those directories are modified. Modified: scripts/svn-hooks/post-commit =================================================================== --- scripts/svn-hooks/post-commit 2004-11-07 22:48:49 UTC (rev 212) +++ scripts/svn-hooks/post-commit 2004-11-07 22:51:01 UTC (rev 213) @@ -29,9 +29,22 @@ # # Here is an example hook script, for a Unix /bin/sh interpreter: +# set -x +# exec >>`dirname $0`/`basename $0`.log 2>&1 + REPOS="$1" REV="$2" +. /org/alioth.debian.org/chroot/home/groups/pkg-kde/scripts/common + +if dirchanged scripts; then + svn update $SCRIPTS_DIR +fi + +if dirchanged www; then + svn update $HTDOCS_DIR +fi + #/svn/pkg-kde/hooks/commit-email.pl "$REPOS" "$REV" debian-qt-kde@lists.debian.org /svn/pkg-kde/hooks/commit-email.pl "$REPOS" "$REV" -s "pkg-kde: commit -" debian-qt-kde@lists.debian.org # CHRIS CHENEY - NONEXISTANT SCRIPT