2
0
Fork 0

osm-garmin: fix map not building if style changes

main
Ducky 2023-10-01 00:54:25 +01:00
parent 7dba12d110
commit d3ab362b5b
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ function build_gmap() {
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")"
version="$(echo "$bounds_dir_md5|$map_md5" | md5sum | cut -d' ' -f1)" 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/" generated_map_dir="$out_dir/$region_shortname/"
version_path="$generated_map_dir/version.txt" version_path="$generated_map_dir/version.txt"