summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-16 19:52:36 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-16 19:52:36 -0800
commit8d32b23c487fb2cd1a27ff350547ca1a2cdb5f68 (patch)
tree11333485f4384c3677f4091e4da1646f3f4de65a
parentfb1ddcd32626b0dc552ce4d4c6e7c0fbb0b8c887 (diff)
sourceballs: copy previous errors.txt output file
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/sourceballs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 470dd7e..d36da4b 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -49,6 +49,7 @@ getpkgname() {
FAILED_PKGS=""
+[ -e "$srcbase/errors.txt" ] && /bin/mv "$srcbase/errors.txt" "$srcbase/errors.txt.old"
echo "Errors occured during run:" > "$srcbase/errors.txt"
for repo in $repos; do