osm-garmin: improve/fix map description
parent
3e785fc9cc
commit
1c8e393e15
|
@ -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: $region"
|
description="$family_name: $(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g")"
|
||||||
product_id="$region_id"
|
product_id="$region_id"
|
||||||
product_version="$version_id"
|
product_version="$version_id"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue