diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-13 23:02:49 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-13 23:02:49 +0100 |
commit | 918e009a6468587cc442c1ed62a5f0264bd28d32 (patch) | |
tree | 32ae38ffecf717cf1c842e54107917044ef9ec77 /cron-jobs | |
parent | 5ca5f0c705590bd5f8bd4af265ad0e753ca9394f (diff) | |
download | dbscripts-918e009a6468587cc442c1ed62a5f0264bd28d32.tar.gz dbscripts-918e009a6468587cc442c1ed62a5f0264bd28d32.tar.xz |
Keep the last failed.txt too for comparison
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-x | cron-jobs/sourceballs | 1 |
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 |