summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-09 22:36:04 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-09 22:36:04 +0100
commita5eb44ed1bbdf2eabd26cc02932898719375c230 (patch)
treecf909301910fe5a95ed58430904dffe4b04ba2b9 /cron-jobs
parentac14b100b2e85f7c2eea63f1d7f4307e062fa46d (diff)
downloaddbscripts-a5eb44ed1bbdf2eabd26cc02932898719375c230.tar.gz
dbscripts-a5eb44ed1bbdf2eabd26cc02932898719375c230.tar.xz
Write out failed packages to a txt file
Located at /srv/ftp/sources/failed.txt Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/sourceballs4
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