Update update_osm_roads_pgr.sh

gestion millesime
This commit is contained in:
MaelREBOUX 2021-04-16 16:52:34 +02:00
parent 7f895246d1
commit cee7adc2f7

View file

@ -3,10 +3,14 @@
set -e set -e
set -u set -u
# argument 1 = millesime redadeg
millesime=$1
PSQL=/usr/bin/psql PSQL=/usr/bin/psql
DB_HOST=localhost DB_HOST=localhost
DB_NAME=redadeg DB_NAME=redadeg_$millesime
DB_USER=redadeg DB_USER=redadeg
DB_PASSWD=redadeg
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"