summaryrefslogtreecommitdiff
path: root/cron-jobs/update-web-db
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-16 18:50:53 -0500
committerDan McGee <dan@archlinux.org>2010-09-16 18:50:53 -0500
commit44c24c5d8e98eb51c8612dfaaac3ddd2ce0337dd (patch)
treedb24594cac223ee26dc025173601a9c8d58ea575 /cron-jobs/update-web-db
parentd9efa9b7bbbc854b987f158cd19d5f646594e42b (diff)
Move output redirection
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'cron-jobs/update-web-db')
-rwxr-xr-xcron-jobs/update-web-db6
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-jobs/update-web-db b/cron-jobs/update-web-db
index 8b74a3a..275676e 100755
--- a/cron-jobs/update-web-db
+++ b/cron-jobs/update-web-db
@@ -34,12 +34,12 @@ for repo in ${REPOS}; do
flags="--filesonly" ;;
esac
if [[ -f $dbfile ]]; then
- echo "Updating ${repo}-${arch}"
- ./manage.py reporead ${flags} ${arch} ${dbfile}
+ echo "Updating ${repo}-${arch}" >> "${LOGOUT}"
+ ./manage.py reporead ${flags} ${arch} ${dbfile} >> "${LOGOUT}" 2>&1
echo ""
fi
done
-done >> "${LOGOUT}" 2>&1
+done
echo "" >> "${LOGOUT}"