2
0
Fork 0

osm-garmin: fix incorrect argument checking logic

main
Ducky 2023-10-02 21:05:27 +01:00
parent e0f1d52286
commit 0d622e7cf1
1 changed files with 2 additions and 2 deletions

View File

@ -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"