From a5eb44ed1bbdf2eabd26cc02932898719375c230 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 9 Feb 2009 15:36:04 -0600 Subject: Write out failed packages to a txt file Located at /srv/ftp/sources/failed.txt Signed-off-by: Aaron Griffin --- cron-jobs/sourceballs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 03b8209..9509715 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -73,9 +73,11 @@ for repo in $repos; do done if [ -n "$FAILED_PKGS" ]; then + echo -e $FAILED_PKGS | sed "s| |\n|g" | sort -u > "$srcbase/failed.txt" + echo "" echo "The following packages failed:" - echo -e $FAILED_PKGS | sed "s| |\n\t|g" | sort -u + cat "$srcbase/failed.txt" fi cleanup -- cgit v1.2.2