From ec42a5634ad46e179d61fe6951fe8a2553aa2572 Mon Sep 17 00:00:00 2001 From: Ducky Date: Sun, 1 Oct 2023 03:23:19 +0100 Subject: [PATCH] osm-garmin: fix build --- osm-garmin/app/build-gmap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 25dab48..e541b14 100755 --- a/osm-garmin/app/build-gmap.sh +++ b/osm-garmin/app/build-gmap.sh @@ -53,7 +53,7 @@ function build_gmap() { [[ -n $OSMGARMIN_MAP_FAMILY_NAME ]] && family_name="$OSMGARMIN_MAP_FAMILY_NAME" - description="$family_name: $(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g")" + description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")" product_id="$region_id" product_version="$version_id" @@ -63,12 +63,12 @@ function build_gmap() { --bounds="$bounds_dir" \ --description="$description" \ --family-name="$family_name" \ - --gmapsupp \ - --index \ --product-id="$product_id" \ --product-version="$product_version" \ - --route \ --series-name="$family_name" \ + --gmapsupp \ + --index \ + --route \ $tiles_dir/$region_shortname/6324*.osm.pbf \ "$styles_dir/$style.TYP"