diff --git a/tools/unix/generate_mwm.sh b/tools/unix/generate_mwm.sh index f85fd6b167..044c39f0c0 100755 --- a/tools/unix/generate_mwm.sh +++ b/tools/unix/generate_mwm.sh @@ -21,7 +21,7 @@ set -e if [ $# -lt 1 ]; then echo - echo "Usage: $0 \ [\]" + echo "Usage: $0 \ [\]" echo echo "Useful environment variables:" echo @@ -90,7 +90,7 @@ if [ -f "$COASTS" ]; then GENERATE_EVERYTHING="$GENERATE_EVERYTHING --emit_coasts=true --split_by_polygons=true" fi # Convert everything to o5m -if [ "$SOURCE_TYPE" == "pbf" -o "$SOURCE_TYPE" == "bz2" ]; then +if [ "$SOURCE_TYPE" == "pbf" -o "$SOURCE_TYPE" == "bz2" -o "$SOURCE_TYPE" == "osm" ]; then find_osmconvert if [ "$SOURCE_TYPE" == "bz2" ]; then bzcat "$SOURCE_FILE" | $OSMCONVERT - --out-o5m "-o=$INTDIR/$BASE_NAME.o5m" || fail