wiktorn / Overpass-API

Overpass API docker image
MIT License
135 stars 48 forks source link

Fixed arguments issue #12

Closed MichielDeMey closed 5 years ago

MichielDeMey commented 5 years ago

When no meta argument is specified, this would result in a "double space". /app/bin/update_database "${DB_DIR}" "${META}" /app/bin/update_database --db-dir=/db/db --compression-method=

This would break the argument parsing resulting in Unkown argument:

This PR fixes the issue.

wiktorn commented 5 years ago

Thank you for pull request. I've decided to go on with more robust solution using bash arrays.