]> git.decadent.org.uk Git - dak.git/commitdiff
use variables for paths
authorMark Hymers <mhy@debian.org>
Sat, 21 Feb 2009 20:51:34 +0000 (20:51 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 21 Feb 2009 20:51:34 +0000 (20:51 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
config/debian/cron.unchecked
config/debian/dinstall

index a2eb6d3893187ceb1233f84a31de3b4eb5596294..5e7a035dcfeeafb0592bab7bbddd6e6b9e1dc645 100755 (executable)
@@ -31,7 +31,7 @@ if lockfile -r3 $LOCKFILE; then
 
     if [ ! -z "$changes" ]; then
        echo "$timestamp": "$changes"  >> $report
-       dak process-unchecked -a -d /srv/ftp.debian.org/queue/unchecked >> $report
+       dak process-unchecked -a -d "$unchecked" >> $report
        echo "--" >> $report
 
        # sync with debbugs
index a4244e37a80e760c5e28f0ff7d5435d1748c70d7..cb6e03a6ca5f14393bb951ecbd42c8c349c19d46 100755 (executable)
@@ -169,7 +169,7 @@ function accepted() {
     log "Processing queue/accepted"
     cd "$accepted"
     rm -f REPORT
-    dak process-accepted -pa -d /srv/ftp.debian.org/queue/accepted > REPORT
+    dak process-accepted -pa -d "$accepted" > REPORT
     cat REPORT | mail -s "Install for $(date +"%D - %R")" ftpmaster@ftp-master.debian.org
     chgrp debadmin REPORT
     chmod 664 REPORT