aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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