From 918e009a6468587cc442c1ed62a5f0264bd28d32 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 13 Feb 2009 14:02:49 -0800 Subject: Keep the last failed.txt too for comparison Signed-off-by: Aaron Griffin --- cron-jobs/sourceballs | 1 + 1 file changed, 1 insertion(+) (limited to 'cron-jobs/sourceballs') diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 07bc7aa..470dd7e 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -85,6 +85,7 @@ for repo in $repos; do done if [ -n "$FAILED_PKGS" ]; then + [ -e "$srcbase/failed.txt" ] && /bin/mv "$srcbase/failed.txt" "$srcbase/failed.txt.old" echo "The following packages failed:" > "$srcbase/failed.txt" echo -e $FAILED_PKGS | sed "s| |\n|g" | sort -u >> "$srcbase/failed.txt" fi -- cgit v1.2.3-24-g4f1b