From d75e8a7b574f6547e1cb6883a381293fd46bf965 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 28 Jul 2013 17:48:56 +0200 Subject: [PATCH] config/debian-security/cron.buildd: use new buildd queue location --- config/debian-security/cron.buildd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5