X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcommon;h=dd9876a7025236f11ec173378f881a98459f5ac8;hb=6a398d3580f3f6412b450e66da6df520fb3d5138;hp=5c488fffb614cb253e75c32cbeacc6da4ece8a53;hpb=81b7481eaee512c4e93fd73bc4853fd316c9c37a;p=dak.git diff --git a/config/backports/common b/config/backports/common index 5c488fff..dd9876a7 100644 --- a/config/backports/common +++ b/config/backports/common @@ -37,6 +37,15 @@ function wbtrigger() { # used by cron.dinstall *and* cron.unchecked. function make_buildd_dir () { dak manage-build-queues -a + + for dist in $(ls -1 ${incoming}/dists/); do + cd ${incoming}/dists/${dist} + mkdir -p tree/${STAMP} + cp -al ${incoming}/dists/${dist}/buildd/. tree/${STAMP}/ + ln -sfT tree/${STAMP} ${incoming}/dists/${dist}/current + find ./tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf + done + } # Do the unchecked processing, in case we have files.