2
0
Fork 0

osm-garmin: fix build

main
Ducky 2023-10-01 03:23:19 +01:00
parent 1c8e393e15
commit ec42a5634a
1 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ function build_gmap() {
[[ -n $OSMGARMIN_MAP_FAMILY_NAME ]] && family_name="$OSMGARMIN_MAP_FAMILY_NAME" [[ -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_id="$region_id"
product_version="$version_id" product_version="$version_id"
@ -63,12 +63,12 @@ function build_gmap() {
--bounds="$bounds_dir" \ --bounds="$bounds_dir" \
--description="$description" \ --description="$description" \
--family-name="$family_name" \ --family-name="$family_name" \
--gmapsupp \
--index \
--product-id="$product_id" \ --product-id="$product_id" \
--product-version="$product_version" \ --product-version="$product_version" \
--route \
--series-name="$family_name" \ --series-name="$family_name" \
--gmapsupp \
--index \
--route \
$tiles_dir/$region_shortname/6324*.osm.pbf \ $tiles_dir/$region_shortname/6324*.osm.pbf \
"$styles_dir/$style.TYP" "$styles_dir/$style.TYP"