[generator] Update osmctools and kothic; fix a bug in generate_planet

This commit is contained in:
Ilya Zverev 2015-10-09 13:50:54 +03:00
parent ecd8e69a7b
commit 73f2cee44c
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 60c342cea1da0e934b549df0d380b070f5d9a34b
Subproject commit b8d935731e502c5390ba6764f32ba60be2fca884

@ -1 +1 @@
Subproject commit 6da67ed2e19bd1eb817ba5d16d1d52c193d61fd4
Subproject commit 96953b50c96cee15f2742432cf7dea587be7c406

View file

@ -165,7 +165,9 @@ if [ -n "${REGIONS:-}" ]; then
log "BORDERS" "Note: old borders from $TARGET/borders were moved to $BORDERS_BACKUP_PATH"
mv "$TARGET/borders"/*.poly "$BORDERS_BACKUP_PATH"
fi
echo "$REGIONS" | xargs -I % cp "%" "$TARGET/borders/"
for i in $REGIONS; do
cp "$i" "$TARGET/borders/"
done
elif [ -z "${REGIONS-1}" ]; then
# A user asked specifically for no regions
NO_REGIONS=1