diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2015-07-07 18:57:37 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:55:00 +0300 |
commit | 44aafabd06ec024a55afb538c309a841c61f3bdb (patch) | |
tree | edb55b8c9fd0aaa26b6e3215bc56446c02f2e265 /tools | |
parent | 21233928a062ee70d76779675ba4ea3844df625b (diff) |
Move generating .tmp files into intermediate dir
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/unix/generate_planet.sh | 4 |
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" & |