This repository was archived by the owner on Feb 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -201,17 +201,6 @@ else
201201 rm -f maproulette_tasks.geojson
202202fi
203203
204- pushd ${TILES_DIR}
205- catch_exception
206- find . | sort -n | tar -cf ${CUR_PLANET_DIR} /planet_${stamp} .tar --no-recursion -T -
207- catch_exception
208- mv ${TILES_DIR} /0 ${CUR_PLANET_DIR} /0
209- catch_exception
210- mv ${TILES_DIR} /1 ${CUR_PLANET_DIR} /1
211- catch_exception
212- mv ${TILES_DIR} /2 ${CUR_PLANET_DIR} /2
213- catch_exception
214-
215204if [ " $BUILD_GEOJSON_OSMLR " == " true" ] && [ -n " $S3_SEGMENT_PATH " ]; then
216205 echo " [INFO] building geojson osmlr."
217206
@@ -229,6 +218,16 @@ if [ "$BUILD_GEOJSON_OSMLR" == "true" ] && [ -n "$S3_SEGMENT_PATH" ]; then
229218 echo " [SUCCESS] geojson osmlr completed!"
230219fi
231220
221+ pushd ${TILES_DIR}
222+ catch_exception
223+ find . | sort -n | tar -cf ${CUR_PLANET_DIR} /planet_${stamp} .tar --no-recursion -T -
224+ catch_exception
225+ mv ${TILES_DIR} /0 ${CUR_PLANET_DIR} /0
226+ catch_exception
227+ mv ${TILES_DIR} /1 ${CUR_PLANET_DIR} /1
228+ catch_exception
229+ mv ${TILES_DIR} /2 ${CUR_PLANET_DIR} /2
230+ catch_exception
232231popd
233232catch_exception
234233popd
You can’t perform that action at this time.
0 commit comments