]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall
allow p-a and p-u to take a directory to parse themselves
[dak.git] / config / debian / dinstall
index c1b74891b0c3f66b76b43afeea22941c9c5e482d..a4244e37a80e760c5e28f0ff7d5435d1748c70d7 100755 (executable)
@@ -64,6 +64,7 @@ function ts() {
 # Cleanup actions
 function cleanup() {
        rm -f ${LOCK_DAILY}
+       rm -f ${LOCK_ACCEPTED}
 }
 
 # Setup the notice file to tell bad mirrors they used the wrong time
@@ -168,7 +169,7 @@ function accepted() {
     log "Processing queue/accepted"
     cd "$accepted"
     rm -f REPORT
-    dak process-accepted -pa *.changes > REPORT
+    dak process-accepted -pa -d /srv/ftp.debian.org/queue/accepted > REPORT
     cat REPORT | mail -s "Install for $(date +"%D - %R")" ftpmaster@ftp-master.debian.org
     chgrp debadmin REPORT
     chmod 664 REPORT
@@ -524,7 +525,7 @@ GO=(
 )
 stage $GO
 
-rm -f $LOCKAC
+rm -f "$LOCK_ACCEPTED"
 
 GO=(
     FUNC="msfl"