From 1792da4634920834e3f7eaf375e9dcc33ca107e9 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 27 Apr 2015 10:52:17 +0200 Subject: [PATCH] Make sure ${exportdir} for stable-new exists. --- config/debian/common | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5