]> err.no Git - dak/commitdiff
config/debian/common: make sure old-style buildd directory exists
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 12 Mar 2013 20:34:55 +0000 (21:34 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 12 Mar 2013 20:36:33 +0000 (21:36 +0100)
An empty build queue would result in $incoming/dists/$suite/buildd no
longer existing. This later triggers an error.

config/debian/common

index 1e26ed990861e37ea4de8f53691bc979d659bec7..24ad1dbef414b872afbee5aa44f9786cb60dc515 100644 (file)
@@ -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/*