From: Ansgar Burchardt Date: Sun, 28 Jul 2013 15:48:56 +0000 (+0200) Subject: config/debian-security/cron.buildd: use new buildd queue location X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75e8a7b574f6547e1cb6883a381293fd46bf965;p=dak config/debian-security/cron.buildd: use new buildd queue location --- diff --git a/config/debian-security/cron.buildd b/config/debian-security/cron.buildd index f0611c7c..1f1d4c65 100755 --- a/config/debian-security/cron.buildd +++ b/config/debian-security/cron.buildd @@ -20,8 +20,8 @@ now=$(date +%s) check=$(( now - 3*60 )) for dist in $DISTS; do - smodtime=$(stat -c "%Y" $base/buildd/$dist/Sources.gz) - pmodtime=$(stat -c "%Y" $base/buildd/$dist/Packages.gz) + smodtime=$(stat -c "%Y" $base/build-queues/dists/buildd-$dist/updates/*/source/Sources.gz | sort -n | tail -1) + pmodtime=$(stat -c "%Y" $base/build-queues/dists/buildd-$dist/updates/*/binary-*/Packages.gz | sort -n | tail -1) if [ ${smodtime} -gt ${check} ] || [ ${pmodtime} -gt ${check} ]; then # Packages/Sources changed in the last minutes