aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osm/osm.api.changeset.update
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-02-02 17:22:45 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-02-02 17:22:45 +0800
commit85503f4612f253a00d03b91fd423e581e17e199f (patch)
treeb8f1aa328f03dcaf520da3014a7914eafc7e3378 /tools/osm/osm.api.changeset.update
parentdced637ca1faadde5d263ad662e355d91a0a5442 (diff)
update
Diffstat (limited to 'tools/osm/osm.api.changeset.update')
-rwxr-xr-xtools/osm/osm.api.changeset.update3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/osm/osm.api.changeset.update b/tools/osm/osm.api.changeset.update
index 7b32741..da4b831 100755
--- a/tools/osm/osm.api.changeset.update
+++ b/tools/osm/osm.api.changeset.update
@@ -1,7 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3echo -n 'type comment: ' 3read -e -p 'Type comment: ' -r comment </dev/tty
4read -r comment
5 4
6echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \ 5echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \
7curl -X PUT -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1 6curl -X PUT -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1