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