[dak/master] dinstall
run the logs.py script
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
ChangeLog | 3 +++
config/debian/cron.dinstall | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1db58f6..f3f16af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-12-16 Joerg Jaspert <joerg@debian.org>
+ * config/debian/cron.dinstall: Run logs.py as last command before
+ we mail the log.
+
* tools/logs.py: Added script from Thomas.
Modifications from me:
- Use path entries that fit ftpmaster dak user
diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index fcbb149..70001b4 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -338,6 +338,8 @@ ts "logremove"
echo "Finally, all is done, sending mail and compressing logfile"
exec > /dev/null 2>&1
+$base/tools/logs.py "$LOGFILE"
+
cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org
bzip2 -9 "$LOGFILE"
--
1.5.6.5
Reply to: