diff options
author | Erich Eckner <git@eckner.net> | 2018-05-15 09:19:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-15 09:19:23 +0200 |
commit | 00f98f5ff75dcde05b75422f45444463d18bddfb (patch) | |
tree | 61fc7fb6c14cd892c7e5fc20849c95acdd0b4fda | |
parent | e5708b085579efbe57d7c6c412a72a2b64b5349c (diff) | |
download | osm-to-garmin-00f98f5ff75dcde05b75422f45444463d18bddfb.tar.xz |
convert: actually only use the configured area, not all previous ones, too
-rwxr-xr-x | convert | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -142,7 +142,9 @@ then --style-file=mkgmap-style-sheets/styles \ --style="generic new" \ "mkgmap-style-sheets/typ/osm generic new/2000.typ" \ - *-latest_dir/6324????.osm.pbf + $( + printf '%s-latest_dir/6324????.osm.pbf\n' "${countries[@]}" + ) rm -f 6324????.img fi @@ -158,7 +160,7 @@ max_size=$((4*1024*1024*1024)) 'Deine Karte auf '"$(hostname)"' ist fertig!' if [ ${size} -gt ${max_size} ]; then printf '%s\n' \ - 'Die ist aber größer als 4GB.' + 'Die ist aber groeszer als 4GB.' fi } | \ sendmailadvanced -t |