]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/common
Remove old variables
[dak.git] / config / debian / common
index 5eec32cf93f6cd7167178c750a4869344eee4c45..88cb6abf090a0efb3da5ab090f5d212f09588bf2 100644 (file)
@@ -33,16 +33,13 @@ function wbtrigger() {
 
 # used by cron.dinstall *and* cron.unchecked.
 function make_buildd_dir () {
-    local overridesuite
-    local suite
-
     # We generate straight into the static mirror location for incoming
     dak manage-build-queues -a
     dak generate-packages-sources2 -a build-queues
     dak generate-releases -a build-queues >/dev/null
 
     # And set up all of the top level symlinks people seem to like
-    find ${incoming}/web -depth 0 -type l -delete
+    find ${incoming}/web -maxdepth 1 -type l -delete
     dak export-suite -r -s "accepted" -d "$incoming/web"
 
     # For now, we still create the local incoming.d.o setup
@@ -51,7 +48,7 @@ function make_buildd_dir () {
     dak export-suite -s "accepted" -d "$incoming/public"
 
     # Tell the mirrors that we've updated
-    /usr/local/bin/static-update-component incoming.debian.org
+    chronic /usr/local/bin/static-update-component incoming.debian.org
 }
 
 # Process (oldstable)-proposed-updates "NEW" queue