[Reproducible-commits] [misc] 01/01: reports: rm uploads.mbox at the start of a run, so the process is (roughly) idempotent

Ximin Luo infinity0 at debian.org
Tue May 17 10:45:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository misc.

commit 873f9711456606113b241bac4929e185a0f52fad
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue May 17 12:45:20 2016 +0200

    reports: rm uploads.mbox at the start of a run, so the process is (roughly) idempotent
---
 reports/bin/get-latest-data | 1 +
 1 file changed, 1 insertion(+)

diff --git a/reports/bin/get-latest-data b/reports/bin/get-latest-data
index d66797e..8d82340 100755
--- a/reports/bin/get-latest-data
+++ b/reports/bin/get-latest-data
@@ -66,6 +66,7 @@ echo >&2 "- mails describing uploads to debian (will ssh to $mailbase)"
 current_month="$(date -u +%Y%m)"
 month_at_end="$(date -u +%Y%m -d@$week_end)"
 month_at_start="$(date -u +%Y%m -d@$week_start)"
+rm -f uploads.mbox
 
 get_emails() {
 	if [ "$1" = "$current_month" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list