]> git.decadent.org.uk Git - dak.git/commitdiff
Ensure we always have when we need it
authorJoerg Jaspert <joerg@debian.org>
Tue, 14 Aug 2012 15:53:06 +0000 (17:53 +0200)
committerJoerg Jaspert <joerg@debian.org>
Tue, 14 Aug 2012 15:53:06 +0000 (17:53 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/common

index d16d2855a8587f6edabbbbcba418a9126881a18f..f3cdaaa35d517648dbb8a683be5504a31bed2b4d 100644 (file)
@@ -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