]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/common
config/debian/common: pass source overrides to apt-ftparchive sources
[dak.git] / config / debian / common
index f3cdaaa35d517648dbb8a683be5504a31bed2b4d..a2e2fe7355dd5073836b910f5569f3d88af85229 100644 (file)
@@ -53,7 +53,7 @@ function make_buildd_dir () {
 
         apt-ftparchive packages . $overridedir/override.sid.all3 >Packages
         gzip -9c --rsyncable <Packages >Packages.gz
-        apt-ftparchive sources . $overridedir/override.sid.all3 >Sources
+        apt-ftparchive sources . $overridedir/override.sid.all3.src >Sources
         gzip -9c --rsyncable <Sources >Sources.gz
 
         rm -f buildd/Release
@@ -96,7 +96,7 @@ function punew_do() {
     local exportdir="${queuedir}${qdir}/tree/${STAMP}"
     local targetdir="${queuedir}${qdir}/export"
     dak export -q "${queue}" -d "${exportdir}" --all
-    ln -sfT ${targetdir} ${exportdir}
+    ln -sfT ${exportdir} ${targetdir}
     find ${queuedir}${qdir}/tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf
 }
 
@@ -128,6 +128,7 @@ function do_unchecked () {
 
     echo "$timestamp": ${changes:-"Nothing to do"}  >> $report
     dak process-upload -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report
+    dak process-commands -d "$unchecked" >> $report
 }
 
 # process NEW policy queue