X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcron.unchecked;h=46f30e07c8655a758c9db6bb97c5b3ed5ad3d1fb;hb=05f973077019d962fe181040c51ae7c3deefb113;hp=d5ada070900e5670dbd6ea355a59ba922cc0c77c;hpb=44606e96f011e2d7ab245efb9cc3e1a80043fdc6;p=dak.git diff --git a/config/backports/cron.unchecked b/config/backports/cron.unchecked index d5ada070..46f30e07 100755 --- a/config/backports/cron.unchecked +++ b/config/backports/cron.unchecked @@ -24,7 +24,7 @@ set -u # the important part here) set -E -export SCRIPTVARS=/srv/backports-master.debian.org/config/backports/vars +export SCRIPTVARS=/srv/backports-master.debian.org/dak/config/backports/vars . $SCRIPTVARS @@ -33,6 +33,8 @@ LOCKFILE="$lockdir/unchecked.lock" LOCK_NEW="$lockdir/processnew.lock" NOTICE="$lockdir/daily.lock" LOCK_BUILDD="$lockdir/buildd.lock" +# The state file telling us we have something new to do +DINSTALLPACKAGES="${lockdir}/dinstall.packages" # our name PROGRAM="unchecked" @@ -76,7 +78,6 @@ function do_buildd () { function do_dists () { cd $configdir dak generate-filelist - GZIP='--rsyncable' ; export GZIP dak generate-packages-sources } @@ -96,8 +97,10 @@ do_newstage do_unchecked if [ ! -z "$changes" ]; then + touch ${DINSTALLPACKAGES} sync_debbugs do_buildd + # echo "Starting g-p-s: $(date +%H:%M:%S)" # do_dists # echo "Done with g-p-s: $(date +%H:%M:%S)"