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

[dak/bpo] more tidy ups for paths/variables



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

diff --git a/config/debian/dinstall b/config/debian/dinstall
index cb6e03a..b6ed073 100755
--- a/config/debian/dinstall
+++ b/config/debian/dinstall
@@ -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
-- 
1.5.6.5



Reply to: