From 85cb7316937ea08de82283ac369de9236ec79764 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Fri, 5 Dec 2025 13:27:29 +0700 Subject: [PATCH] [generator] Fix boolean action options handling Signed-off-by: Konstantin Pastbin --- tools/unix/maps/docker_maps_generator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unix/maps/docker_maps_generator.sh b/tools/unix/maps/docker_maps_generator.sh index b910d8a99..5a2df8e59 100644 --- a/tools/unix/maps/docker_maps_generator.sh +++ b/tools/unix/maps/docker_maps_generator.sh @@ -33,13 +33,13 @@ cp var/etc/map_generator.ini.prod var/etc/map_generator.ini GENARGS="" -if [ $MWMTEST -gt 0 ]; then +if [ $MWMTEST -eq "true" ]; then echo "Marking as a test (non-prod) generation" # TODO: output test maps into e.g. osm-maps-test/ and use a different generation.log GENARGS="$GENARGS -s=test" fi -if [ $MWMCONTINUE -gt 0 ]; then +if [ $MWMCONTINUE -eq "true" ]; then echo "Continuing from preexisting generator run" GENARGS="$GENARGS --continue" fi