From 2bf07df47a737eaa79b509199fb5c90974614c49 Mon Sep 17 00:00:00 2001 From: Lee Goddard Date: Wed, 13 Jul 2022 18:49:46 +0100 Subject: [PATCH] Update build.sh --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 86ad167..06fdc4c 100755 --- a/build.sh +++ b/build.sh @@ -220,7 +220,7 @@ done DBNAME="osm-${AREA}" psql -c "create role osmuk_user LOGIN PASSWORD 'osmuk';" -createdb $DBNAME -O osmuk_user +createdb -O osmuk_user $DBNAME psql -d $DBNAME -c "create extension if not exists postgis;" psql -d $DBNAME -c "create extension if not exists hstore;" @@ -338,4 +338,4 @@ psql -d $DBNAME -c "grant select on all tables in schema public to osmuk_user;" sed -iE "s/'database': 'osm-[a-z/-]*'/'database': '${DBNAME}'/g" minimal-mvt.py sed -iE "s/'center': .*$/'center': ${CENTRE},/g" map-mapboxgl/index.html -python3 minimal-mvt.py \ No newline at end of file +python3 minimal-mvt.py