]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall
more tidy ups for paths/variables
[dak.git] / config / debian / dinstall
index cb6e03a6ca5f14393bb951ecbd42c8c349c19d46..b6ed073a3c2c82f90046febc38d15b6cc921fcbc 100755 (executable)
@@ -167,9 +167,8 @@ function i18n1() {
 # Process the accepted queue
 function accepted() {
     log "Processing queue/accepted"
-    cd "$accepted"
-    rm -f REPORT
-    dak process-accepted -pa -d "$accepted" > REPORT
+    rm -f "$accepted/REPORT"
+    dak process-accepted -pa -d "$accepted" > "$accepted/REPORT"
     cat REPORT | mail -s "Install for $(date +"%D - %R")" ftpmaster@ftp-master.debian.org
     chgrp debadmin REPORT
     chmod 664 REPORT