Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSergey Yershov <yershov@corp.mail.ru>2015-07-07 18:57:37 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:00 +0300
commit44aafabd06ec024a55afb538c309a841c61f3bdb (patch)
treeedb55b8c9fd0aaa26b6e3215bc56446c02f2e265 /tools
parent21233928a062ee70d76779675ba4ea3844df625b (diff)
Move generating .tmp files into intermediate dir
Diffstat (limited to 'tools')
-rwxr-xr-xtools/unix/generate_planet.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unix/generate_planet.sh b/tools/unix/generate_planet.sh
index ecc7a8cef1..ff0480e182 100755
--- a/tools/unix/generate_planet.sh
+++ b/tools/unix/generate_planet.sh
@@ -317,7 +317,7 @@ if [ "$MODE" == "mwm" ]; then
putmode "Step 5: Building all MWMs of regions and of the whole world into $TARGET"
# 3rd pass - do in parallel
# but separate exceptions for world files to finish them earlier
- PARAMS="--data_path=$TARGET --user_resource_path=$DATA_PATH/ --node_storage=$NODE_STORAGE -generate_geometry -generate_index"
+ PARAMS="--data_path=$TARGET --intermediate_data_path=$INTDIR/ --user_resource_path=$DATA_PATH/ --node_storage=$NODE_STORAGE -generate_geometry -generate_index"
if [ -n "$OPT_WORLD" ]; then
(
"$GENERATOR_TOOL" $PARAMS --output=World 2>> "$LOG_PATH/World.log"
@@ -327,7 +327,7 @@ if [ "$MODE" == "mwm" ]; then
fi
PARAMS_WITH_SEARCH="$PARAMS -generate_search_index"
- for file in "$TARGET"/*.mwm.tmp; do
+ for file in "$INTDIR"/*.mwm.tmp; do
if [[ "$file" != *minsk-pass* && "$file" != *World* ]]; then
BASENAME="$(basename "$file" .mwm.tmp)"
"$GENERATOR_TOOL" $PARAMS_WITH_SEARCH --output="$BASENAME" 2>> "$LOG_PATH/$BASENAME.log" &