]> git.decadent.org.uk Git - dak.git/commitdiff
Seems more correct to use the start time we saved in for the cron mail
authorJoerg Jaspert <joerg@debian.org>
Sat, 3 May 2008 11:44:27 +0000 (13:44 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 3 May 2008 11:44:27 +0000 (13:44 +0200)
config/debian/cron.dinstall

index 4e3befb736b7bd5b92383f6eb79b1742620fd3c2..cd22bd25037382fb5e4daa59a744b8a0f3ae4531 100755 (executable)
@@ -258,7 +258,7 @@ TS=$(($TS+1)); echo Archive maintenance timestamp $TS: $(date +%X)
 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"
 
 ################################################################################