From: Ansgar Burchardt Date: Mon, 27 Apr 2015 08:52:17 +0000 (+0200) Subject: Make sure ${exportdir} for stable-new exists. X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=1792da4634920834e3f7eaf375e9dcc33ca107e9 Make sure ${exportdir} for stable-new exists. --- diff --git a/config/debian/common b/config/debian/common index e06d760b..9d00cf9a 100644 --- a/config/debian/common +++ b/config/debian/common @@ -61,6 +61,7 @@ function punew_do() { local exportdir="${qdir}/tree/${STAMP}" local targetdir="${qdir}/export" + mkdir -p -- ${exportdir} dak export -q "${queue}" -d "${exportdir}" --all ln -sfT ${exportdir} ${targetdir} find "${qdir}/tree" -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf