From b7bebb4060149235ec29beb6ac9c076f763ebdef Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Tue, 13 May 2014 17:50:06 +0200 Subject: Fix selection db path and general cleanups in update scripts. --- sources/db/update.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sources/db') diff --git a/sources/db/update.sh b/sources/db/update.sh index 24d430b..a189c96 100755 --- a/sources/db/update.sh +++ b/sources/db/update.sh @@ -27,7 +27,7 @@ fi echo "`$DATECMD` Start db..." DATABASE=$DIR/taginfo-db.db -SELECTION_DB=$DIR/selection.db +SELECTION_DB=$DIR/../selection.db rm -f $DATABASE @@ -46,10 +46,7 @@ width=`../../bin/taginfo-config.rb geodistribution.width` height=`../../bin/taginfo-config.rb geodistribution.height` min_tag_combination_count=`../../bin/taginfo-config.rb sources.master.min_tag_combination_count 1000` -TAGSTATS=`../../bin/taginfo-config.rb sources.db.tagstats` -if [ "x" = "x$TAGSTATS" ]; then - TAGSTATS="./tagstats" -fi +TAGSTATS=`../../bin/taginfo-config.rb sources.db.tagstats ../../tagstats/tagstats` if [ -f $SELECTION_DB ]; then OPEN_SELECTION_DB="--selection-db=$SELECTION_DB" -- cgit v1.2.3