From 0143cd1866e2489ed30bd890c812a3073be6cc67 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 19 Mar 2021 12:57:34 +0800 Subject: update --- tools/osm/osm.api.changeset.commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/osm/osm.api.changeset.commit') diff --git a/tools/osm/osm.api.changeset.commit b/tools/osm/osm.api.changeset.commit index e084198..6b67833 100755 --- a/tools/osm/osm.api.changeset.commit +++ b/tools/osm/osm.api.changeset.commit @@ -25,7 +25,8 @@ if [ -z ${OSM_USER_PASSWD} ]; then fi create_changeset() { - SOURCE_TAG="${SOURCE:+}" + SOURCE_TAG="${SOURCE:+$(printf "" $SOURCE)}" + curl ${OSM_API}/changeset/create \ --user ${OSM_USER_PASSWD} \ --upload-file - \ -- cgit v1.2.3-70-g09d2