origin/main ➔ main
commit
5d2f1e5e9f
|
@ -9,7 +9,7 @@ cwd="$(pwd)"
|
||||||
|
|
||||||
function build_gmap() {
|
function build_gmap() {
|
||||||
region="$1"
|
region="$1"
|
||||||
region_id="$2" # BUG: We're not actually using this anywhere!
|
region_id="$2"
|
||||||
style="$3"
|
style="$3"
|
||||||
country_abbr="$4"
|
country_abbr="$4"
|
||||||
country_name="$5"
|
country_name="$5"
|
||||||
|
@ -51,6 +51,8 @@ function build_gmap() {
|
||||||
|
|
||||||
exec_mkgmap \
|
exec_mkgmap \
|
||||||
--gmapsupp \
|
--gmapsupp \
|
||||||
|
--product-id=$region_id \
|
||||||
|
--product-version=$version_id \
|
||||||
--area-name="$area_name" \
|
--area-name="$area_name" \
|
||||||
--country-abbr="$country_abbr" \
|
--country-abbr="$country_abbr" \
|
||||||
--description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")" \
|
--description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")" \
|
||||||
|
@ -183,4 +185,4 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "🧹 Cleaning up..."
|
echo "🧹 Cleaning up..."
|
||||||
cleanup
|
cleanup
|
||||||
|
|
Loading…
Reference in New Issue