From 5329fa15c69b2c31ad98db1989ddfa8c4915a199 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 4 Nov 2012 19:56:35 +0100 Subject: [PATCH] Make sure *.new directories do exist. The directories will not be created by dak export / dak export-suite if they have no files to put there. --- config/debian-security/cron.unchecked | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked index bbb9bdf7..58029f41 100755 --- a/config/debian-security/cron.unchecked +++ b/config/debian-security/cron.unchecked @@ -70,6 +70,7 @@ find ${queuedir}/accepted -type f -exec mv -t /srv/queued/ftpmaster '{}' + for queue in embargoed; do pushd ${queuedir}/${queue} rm -rf export.new + mkdir export.new dak export -q ${queue} -d export.new --all rsync -a --delete export.new/. export/. rm -rf export.new @@ -91,6 +92,7 @@ dak generate-releases -a build-queues >/dev/null for suite in stable testing; do overridecodename=$(dak admin suite show ${suite} | awk '$1 == "OverrideCodename:" { print $2 }') rm -rf ${incoming}/${suite}.new + mkdir ${incoming}/${suite}.new dak export-suite -s buildd-${suite} -d ${incoming}/${suite}.new cd ${incoming}/${suite}.new -- 2.39.5