diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 02672e7..84b40ad 100755 --- a/osm-garmin/app/build-gmap.sh +++ b/osm-garmin/app/build-gmap.sh @@ -131,8 +131,8 @@ mkdir -p "$maps_dir" mkdir -p "$out_dir" mkdir -p "$tiles_dir" -[[ -n "$regions" ]] && die "No regions given (1st argument)" -[[ -n "$style" ]] && die "No style given (2nd argument)" +[[ -z "$regions" ]] && die "No regions given (1st argument)" +[[ -z "$style" ]] && die "No style given (2nd argument)" regions_array="$(echo $regions | tr ";" "\n")" is_updates="false"