summaryrefslogtreecommitdiff
path: root/sources/db/update.sh
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2011-10-10 20:38:34 +0200
committerJochen Topf <jochen@topf.org>2011-10-10 20:38:34 +0200
commit37218f57f1b53a5f0b1a3d4e4444e8d80b5d667c (patch)
treecbd6b41d6696e7e7a2df009c6470df152b4b3dfe /sources/db/update.sh
parent82c320568448206a65816cb602dfa8f8a3399c1e (diff)
downloadtaginfo-37218f57f1b53a5f0b1a3d4e4444e8d80b5d667c.tar
taginfo-37218f57f1b53a5f0b1a3d4e4444e8d80b5d667c.tar.gz
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.
Diffstat (limited to 'sources/db/update.sh')
-rwxr-xr-xsources/db/update.sh2
1 files changed, 1 insertions, 1 deletions
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..."