diff options
Diffstat (limited to 'tools/osm')
-rwxr-xr-x | tools/osm/osm.api.changeset.update | 3 |
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 | ||
3 | echo -n 'type comment: ' | 3 | read -e -p 'Type comment: ' -r comment </dev/tty |
4 | read -r comment | ||
5 | 4 | ||
6 | echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \ | 5 | echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \ |
7 | curl -X PUT -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1 | 6 | curl -X PUT -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1 |