]> git.decadent.org.uk Git - dak.git/commitdiff
dinstall
authorJoerg Jaspert <joerg@debian.org>
Sun, 22 Feb 2009 09:20:11 +0000 (10:20 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 22 Feb 2009 09:20:11 +0000 (10:20 +0100)
use full path for REPORT everywhere

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall

index 9ee1781cc83f9ad994a860c4db45a7843066b0b7..7c3880806878c609da809e8149c75ad535fe6bef 100755 (executable)
@@ -169,9 +169,9 @@ function accepted() {
     log "Processing queue/accepted"
     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
+    cat "$accepted/REPORT" | mail -s "Install for $(date +"%D - %R")" ftpmaster@ftp-master.debian.org
+    chgrp debadmin "$accepted/REPORT"
+    chmod 664 "$accepted/REPORT"
 }
 
 function cruft() {