#!/bin/sh
-export PATH=/home/nm4/bin:$PATH
-
#
# merge exim.org/github repos
#
-export GIT_DIR=/home/git/exim.git
-export GIT_KEY=/home/nm4/.ssh/git_repo_sync
-export GIT_SSH=/home/nm4/bin/gitssh.sh
+export GIT_DIR=/srv/git/exim.git
+export GIT_KEY=/opt/cumin/ssh/git_repo_sync
+export GIT_SSH=/opt/cumin/services/mirror-monitor/bin/gitssh.sh
git fetch --quiet github
git push --all --force github 2>&1 | fgrep -v 'Everything up-to-date'
git push --tags github 2>&1 | fgrep -v 'Everything up-to-date'
#
# Mail out updates for exim git
#
-export MAILTAG=/home/nm4/.git-mail-exim
+export MAILTAG=/opt/cumin/state/git-mail-exim
export MLIST=exim-cvs@exim.org
export GITWEB=https://git.exim.org/exim.git
-flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
+flock $0 /opt/cumin/services/misc-git-hacks/git-feed-mail-list.sh
#
# Mail out updates for exim website git
#
-export GIT_DIR=/home/git/exim-website.git
-export MAILTAG=/home/nm4/.git-mail-exim-website
+export GIT_DIR=/srv/git/exim-website.git
+export MAILTAG=/opt/cumin/state/git-mail-exim-website
export MLIST=exim-cvs@exim.org
export GITWEB=https://git.exim.org/exim-website.git
-flock $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
+flock $0 /opt/cumin/services/misc-git-hacks/git-feed-mail-list.sh
# end