diff options
author | Jochen Topf <jochen@topf.org> | 2011-10-10 20:38:34 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-10-10 20:38:34 +0200 |
commit | 37218f57f1b53a5f0b1a3d4e4444e8d80b5d667c (patch) | |
tree | cbd6b41d6696e7e7a2df009c6470df152b4b3dfe /sources/db | |
parent | 82c320568448206a65816cb602dfa8f8a3399c1e (diff) | |
download | taginfo-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')
-rwxr-xr-x | sources/db/update.sh | 2 |
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..." |