[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/bpo] use variables for paths



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 config/debian/cron.unchecked |    2 +-
 config/debian/dinstall       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked
index a2eb6d3..5e7a035 100755
--- a/config/debian/cron.unchecked
+++ b/config/debian/cron.unchecked
@@ -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
diff --git a/config/debian/dinstall b/config/debian/dinstall
index a4244e3..cb6e03a 100755
--- a/config/debian/dinstall
+++ b/config/debian/dinstall
@@ -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
-- 
1.5.6.5



Reply to: