[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 e06d760..9d00cf9 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
-- 
1.7.10.4



Reply to: