From: Joerg Jaspert Date: Tue, 14 Aug 2012 15:53:06 +0000 (+0200) Subject: Ensure we always have when we need it X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=20b783194b6b872d47717f4a9dd66b6bef7703c0;p=dak.git Ensure we always have when we need it Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/common b/config/debian/common index d16d2855..f3cdaaa3 100644 --- a/config/debian/common +++ b/config/debian/common @@ -68,6 +68,8 @@ function make_buildd_dir () { mv Release Release.gpg buildd/ done + STAMP=${STAMP:-$(date "+%Y%m%d%H%M")} + for dist in $(ls -1 ${incoming}/dists/); do # Skip project trace directory if [ "${dist}x" = "projectx" ]; then continue; fi @@ -89,6 +91,8 @@ function punew_do() { dak generate-packages-sources2 -s "${queue}" + STAMP=${STAMP:-$(date "+%Y%m%d%H%M")} + local exportdir="${queuedir}${qdir}/tree/${STAMP}" local targetdir="${queuedir}${qdir}/export" dak export -q "${queue}" -d "${exportdir}" --all