chiark / gitweb /
When cleaning up after failed clone, stat the to-be-cleaned-up directory before runni...
[dgit.git] / infra / drs-cron-wrap
1 #!/bin/sh
2 set -e
3 umask 002
4
5 distro=$1; shift
6
7 srvdir=/srv/dgit.debian.org
8 dispatchdir=$srvdir/dispatch-dir
9 dgitlive=$srvdir/dgit-live
10
11 distrodir=$dispatchdir/distro=$distro
12
13 PERLLIB="$dgitlive${PERLLIB+:}${PERLLIB}" \
14 exec $dgitlive/infra/dgit-repos-server $distro $distrodir '' --cron