Skip to content

Commit d771698

Browse files
committed
Update the update-db script to use the right Django version.
- Legacy-Id: 1879
1 parent 54589f8 commit d771698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/update-db

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ while true; do
4343
#echo "Database dump file is from $(date -r $DBDUMP +'%Y-%m-%d %H:%M')."
4444
#echo "Last update done $(date -r $DBDONE +'%Y-%m-%d %H:%M')."
4545
if [ $DBDUMP -nt $DBTIME ]; then
46+
export PYTHONPATH=$PWD
4647
echo "Updating database dated $(date -r $DBDONE +'%Y-%m-%d %H:%M') from dump with time $(date -r $DBDUMP +'%Y-%m-%d %H:%M')"
4748
echo -n "Updating database from dump with time $(date -r $DBDUMP +'%Y-%m-%d %H:%M')... " 1>&2
4849

0 commit comments

Comments
 (0)