aboutsummaryrefslogtreecommitdiff
path: root/bin/sbotools-update-db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sbotools-update-db.sh')
-rwxr-xr-xbin/sbotools-update-db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sbotools-update-db.sh b/bin/sbotools-update-db.sh
index eadf8c3..ec6a22f 100755
--- a/bin/sbotools-update-db.sh
+++ b/bin/sbotools-update-db.sh
@@ -24,6 +24,7 @@ if [ -e $DATEFILE ] && diff $DATEFILE $DATEFILE.new > /dev/null ; then
exit 0
fi
+rm -f $DBFILE.update
( $SCRIPT $SBOTREE | $SQLITE3 $DBFILE.update ) &> $LOG
if [ "$?" = "0" ]; then