aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osm/osm.api.changeset.commit
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osm/osm.api.changeset.commit')
-rwxr-xr-xtools/osm/osm.api.changeset.commit3
1 files changed, 2 insertions, 1 deletions
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
25fi 25fi
26 26
27create_changeset() { 27create_changeset() {
28 SOURCE_TAG="${SOURCE:+<tag k=\'source\' v=\'$SOURCE\'/>}" 28 SOURCE_TAG="${SOURCE:+$(printf "<tag k='source' v='%s'/>" $SOURCE)}"
29
29 curl ${OSM_API}/changeset/create \ 30 curl ${OSM_API}/changeset/create \
30 --user ${OSM_USER_PASSWD} \ 31 --user ${OSM_USER_PASSWD} \
31 --upload-file - \ 32 --upload-file - \