summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-jobs/sourceballs1
1 files changed, 1 insertions, 0 deletions
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