From a007d5971803a349e6e7ca1e7956fda99a4e49b9 Mon Sep 17 00:00:00 2001 From: Ducky Date: Sun, 1 Oct 2023 00:55:17 +0100 Subject: [PATCH] osm-garmin: improve formatting --- osm-garmin/app/build-gmap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 53618a0..135d142 100755 --- a/osm-garmin/app/build-gmap.sh +++ b/osm-garmin/app/build-gmap.sh @@ -12,13 +12,13 @@ function build_gmap() { style="$2" region_shortname="$(get_region_shortname "$region")" + generated_map_dir="$out_dir/$region_shortname/" bounds_dir_md5="$(get_md5_dir "$bounds_dir")" map_md5="$(get_md5 "$maps_dir/$region_shortname.osm.pbf")" 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" build="true"