mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
[generator] Fix boolean action options handling
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
0237751afe
commit
2dafdd4338
@@ -33,13 +33,13 @@ cp var/etc/map_generator.ini.prod var/etc/map_generator.ini
|
||||
|
||||
GENARGS=""
|
||||
|
||||
if [ $MWMTEST -gt 0 ]; then
|
||||
if [ $MWMTEST == "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 == "true" ]; then
|
||||
echo "Continuing from preexisting generator run"
|
||||
GENARGS="$GENARGS --continue"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user