summaryrefslogtreecommitdiffstats
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-17 04:52:36 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-17 04:52:36 +0100
commit8d32b23c487fb2cd1a27ff350547ca1a2cdb5f68 (patch)
tree11333485f4384c3677f4091e4da1646f3f4de65a /cron-jobs/sourceballs
parentfb1ddcd32626b0dc552ce4d4c6e7c0fbb0b8c887 (diff)
downloaddbscripts-8d32b23c487fb2cd1a27ff350547ca1a2cdb5f68.tar.gz
dbscripts-8d32b23c487fb2cd1a27ff350547ca1a2cdb5f68.tar.xz
sourceballs: copy previous errors.txt output file
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/sourceballs')
-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