forked from organicmaps/organicmaps
Fixed non-working coastline builder script
This commit is contained in:
parent
9fa6ab8c9c
commit
3b7beea91f
1 changed files with 3 additions and 1 deletions
|
@ -107,12 +107,13 @@ if [[ $1 == "--full" ]]; then
|
|||
# Do not exit on error
|
||||
set +e
|
||||
merge_coasts
|
||||
set -e
|
||||
EXIT_CODE=$?
|
||||
if [[ $EXIT_CODE != 0 ]]; then
|
||||
date -u
|
||||
echo "Will try fresh coasts again in 40 minutes..."
|
||||
sleep 2400
|
||||
fi
|
||||
set -e
|
||||
done
|
||||
else
|
||||
if [[ $1 == "--generate" ]]; then
|
||||
|
@ -127,6 +128,7 @@ fi
|
|||
# need link to generated coastlines file
|
||||
ln -s -f $INTCOASTSDIR/WorldCoasts.mwm.tmp $INTDIR/WorldCoasts.mwm.tmp
|
||||
|
||||
|
||||
if [[ $1 == "--generate" || $1 == "--full" ]]; then
|
||||
# 1st pass, run in parallel - preprocess whole planet to speed up generation if all coastlines are correct
|
||||
$CONVERT_TOOL $PLANET_FILE | $GENERATOR_TOOL -intermediate_data_path=$INTDIR -use_light_nodes=false -preprocess_xml
|
||||
|
|
Loading…
Add table
Reference in a new issue