osm-garmin: improve formatting
parent
d3ab362b5b
commit
a007d59718
|
@ -12,13 +12,13 @@ function build_gmap() {
|
||||||
style="$2"
|
style="$2"
|
||||||
|
|
||||||
region_shortname="$(get_region_shortname "$region")"
|
region_shortname="$(get_region_shortname "$region")"
|
||||||
|
generated_map_dir="$out_dir/$region_shortname/"
|
||||||
|
|
||||||
bounds_dir_md5="$(get_md5_dir "$bounds_dir")"
|
bounds_dir_md5="$(get_md5_dir "$bounds_dir")"
|
||||||
map_md5="$(get_md5 "$maps_dir/$region_shortname.osm.pbf")"
|
map_md5="$(get_md5 "$maps_dir/$region_shortname.osm.pbf")"
|
||||||
style_md5="$(get_md5 "$style_dir/$style.TYP")"
|
style_md5="$(get_md5 "$style_dir/$style.TYP")"
|
||||||
version="$(echo "$bounds_dir_md5|$map_md5|$style_md5" | md5sum | cut -d' ' -f1)"
|
|
||||||
|
|
||||||
generated_map_dir="$out_dir/$region_shortname/"
|
version="$(echo "$bounds_dir_md5|$map_md5|$style_md5" | md5sum | cut -d' ' -f1)"
|
||||||
version_path="$generated_map_dir/version.txt"
|
version_path="$generated_map_dir/version.txt"
|
||||||
|
|
||||||
build="true"
|
build="true"
|
||||||
|
|
Loading…
Reference in New Issue