[generator] Redirect osmupdate output to planet log

This commit is contained in:
Ilya Zverev 2015-07-07 13:07:56 +03:00 committed by Alex Zolotarev
parent e99003a0d6
commit 23d851481b

View file

@ -224,7 +224,7 @@ if [ "$MODE" == "coast" ]; then
PLANET_ABS="$(cd "$(dirname "$PLANET")"; pwd)/$(basename "$PLANET")"
(
cd "$OSMCTOOLS" # osmupdate requires osmconvert in a current directory
./osmupdate --drop-author --drop-version --out-o5m -v "$PLANET_ABS" "$PLANET_ABS.new.o5m"
./osmupdate --drop-author --drop-version --out-o5m -v "$PLANET_ABS" "$PLANET_ABS.new.o5m" >> "$PLANET_LOG" 2>&1
)
mv "$PLANET.new.o5m" "$PLANET"
fi