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

ftpmaster-dak r1073: Seems more correct to use the start time we saved in for the cron mail



------------------------------------------------------------
revno: 1073
committer: Joerg Jaspert <joerg@debian.org>
branch nick: upstream
timestamp: Sat 2008-05-03 13:44:27 +0200
message:
  Seems more correct to use the start time we saved in  for the cron mail
modified:
  config/debian/cron.dinstall
=== modified file 'config/debian/cron.dinstall'
--- a/config/debian/cron.dinstall	2008-05-03 11:35:35 +0000
+++ b/config/debian/cron.dinstall	2008-05-03 11:44:27 +0000
@@ -258,7 +258,7 @@
 echo "Finally, all is done, sending mail and compressing logfile"
 exec > /dev/null 2>&1
 
-cat "$LOGFILE" | mail -s "Log for dinstall run of $(date +%Y.%m.%d' at '%H:%M)" cron@ftp-master.debian.org
+cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org
 bzip2 -9 "$LOGFILE"
 
 ################################################################################


Reply to: