Abort single planet generation in Test mode

I believe it is safe to assume that a user wants nothing to be generated with -t, even if its a single planet
This commit is contained in:
2026-05-31 17:14:15 +02:00
parent 62b9997d39
commit 22b34dcace
+4
View File
@@ -119,6 +119,10 @@ should_skip() {
}
single_planet() {
if [[ "$TEST" == "1" ]]; then
return 0
fi
mkdir -p "./data/osm/planet"
wget "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf" -O "./data/osm/planet.osm.pbf"