aboutsummaryrefslogtreecommitdiff
path: root/sources/db
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-11-10 20:08:52 +0100
committerJochen Topf <jochen@topf.org>2010-11-10 20:08:52 +0100
commit63cc77aa8854837e76e10c853ceca23eab765fe1 (patch)
treeb829f9e0259439b70d1bcad2a09cc7ea65710459 /sources/db
parent5e8df4cebd10e913c563fee0219c724bf46f6761 (diff)
downloadtaginfo-63cc77aa8854837e76e10c853ceca23eab765fe1.tar
taginfo-63cc77aa8854837e76e10c853ceca23eab765fe1.tar.gz
Add more timing output to db update.sh
Diffstat (limited to 'sources/db')
-rwxr-xr-xsources/db/update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/db/update.sh b/sources/db/update.sh
index 0c9e9f2..4ab2856 100755
--- a/sources/db/update.sh
+++ b/sources/db/update.sh
@@ -24,16 +24,16 @@ rm -f $DIR/count.db
echo "Running pre.sql..."
sqlite3 $DATABASE <pre.sql
-echo "Running count..."
+echo -n "Running count... "; date
HERE=`pwd`
cd $DIR
bzcat $DIR/planet.osm.bz2 | $HERE/osmium_tagstats -
cd $HERE
-echo "Running update_characters..."
+echo -n "Running update_characters... "; date
./update_characters.pl $DIR
-echo "Running post.sql..."
+echo -n "Running post.sql... "; date
perl -pe "s|__DIR__|$DIR|" post.sql | sqlite3 $DATABASE
echo -n "Done db: "; date