diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-02-02 17:22:45 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-02-02 17:22:45 +0800 |
commit | 85503f4612f253a00d03b91fd423e581e17e199f (patch) | |
tree | b8f1aa328f03dcaf520da3014a7914eafc7e3378 /tools | |
parent | dced637ca1faadde5d263ad662e355d91a0a5442 (diff) |
update
Diffstat (limited to 'tools')
-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 |