diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-09 15:36:04 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-09 15:36:04 -0600 |
commit | a5eb44ed1bbdf2eabd26cc02932898719375c230 (patch) | |
tree | cf909301910fe5a95ed58430904dffe4b04ba2b9 | |
parent | ac14b100b2e85f7c2eea63f1d7f4307e062fa46d (diff) |
Write out failed packages to a txt file
Located at /srv/ftp/sources/failed.txt
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | cron-jobs/sourceballs | 4 |
1 files changed, 3 insertions, 1 deletions
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 |