From 37218f57f1b53a5f0b1a3d4e4444e8d80b5d667c Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 10 Oct 2011 20:38:34 +0200 Subject: Add taginfo-config.rb to read config from command line. I added bin/taginfo-config.rb to easily access the config file from the command line. This is now used in sources/db/update.sh and sources/update_all.sh. This, again, reduces the places in the distribution where things needed to be changed for each instance. --- sources/db/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources/db/update.sh') diff --git a/sources/db/update.sh b/sources/db/update.sh index 5adf383..19d3518 100755 --- a/sources/db/update.sh +++ b/sources/db/update.sh @@ -21,7 +21,7 @@ if [ "x" = "x$DIR" ]; then fi if [ "x" = "x$PLANETFILE" ]; then - PLANETFILE=/osm/planet/var/current-planet.osm.pbf + PLANETFILE=`../../bin/taginfo-config.rb sources.db.planetfile` fi echo "`$DATECMD` Start db..." -- cgit v1.2.3