From: Ansgar Burchardt Date: Tue, 12 Mar 2013 20:34:55 +0000 (+0100) Subject: config/debian/common: make sure old-style buildd directory exists X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cc15af76b04ff7744d6b31deae32644ae10031f;p=dak config/debian/common: make sure old-style buildd directory exists An empty build queue would result in $incoming/dists/$suite/buildd no longer existing. This later triggers an error. --- diff --git a/config/debian/common b/config/debian/common index 1e26ed99..24ad1dbe 100644 --- a/config/debian/common +++ b/config/debian/common @@ -43,6 +43,7 @@ function make_buildd_dir () { for suite in unstable experimental squeeze-backports; do rm -rf "$incoming/dists/$suite/buildd" + mkdir -p "$incoming/dists/$suite/buildd" dak export-suite -s "buildd-$suite" -d "$incoming/dists/$suite/buildd" done rm -f ${incoming}/public/*