From e23489d7aa7d6ba65b447c51aa7c2065f1e18ccd Mon Sep 17 00:00:00 2001 From: Lev Dragunov Date: Tue, 19 Jan 2016 16:30:25 +0300 Subject: [PATCH] Planet generation script review fixes. --- tools/unix/generate_planet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unix/generate_planet.sh b/tools/unix/generate_planet.sh index 2e0b97398e..3a1c6bd3b6 100755 --- a/tools/unix/generate_planet.sh +++ b/tools/unix/generate_planet.sh @@ -259,7 +259,7 @@ if [ "$MODE" == "coast" ]; then "$GENERATOR_TOOL" --intermediate_data_path="$INTCOASTSDIR/" --node_storage=map --osm_file_type=o5m --osm_file_name="$COASTS_O5M" \ -preprocess 2>> "$LOG_PATH/WorldCoasts.log" if [ -z "$OSRM_URL" ]; then - log "STATUS" "OSRM_URL variable not set. World roads will not be calculated." + log "OSRM_URL variable not set. World roads will not be calculated." else python "$ROADS_SCRIPT" "$INTCOASTSDIR" "$OSRM_URL" >>"$LOG_PATH"/road_runner.log fi @@ -282,7 +282,7 @@ if [ "$MODE" == "coast" ]; then # make a working copy of generated coastlines file if [ -n "$OPT_COAST" ]; then cp "$INTCOASTSDIR"/WorldCoasts.*geom "$INTDIR" - cp "$INTCOASTSDIR"/*.csv "$INTDIR" + cp "$INTCOASTSDIR"/*.csv "$INTDIR" || true fi [ -z "$KEEP_INTDIR" ] && rm -r "$INTCOASTSDIR" if [ -n "$OPT_ROUTING" -o -n "$OPT_WORLD" -o -z "$NO_REGIONS" ]; then