aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osm/osm.api.changeset.update
blob: da4b831ae76ac51e32f4e48dafdfff853c29bbfd (plain)
1
2
3
4
5
6
#!/bin/sh

read -e -p 'Type comment: ' -r comment </dev/tty

echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \
curl -X PUT -u $OSM_USER_PASSWD -i -T - $OSM_API/changeset/$1