diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/osm/osm.api.changeset.commit | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/osm/osm.api.changeset.commit b/tools/osm/osm.api.changeset.commit index d41472e..4f3f926 100755 --- a/tools/osm/osm.api.changeset.commit +++ b/tools/osm/osm.api.changeset.commit | |||
| @@ -15,17 +15,6 @@ if [ -z ${OSM_USER_PASSWD} ]; then | |||
| 15 | read -e -p 'Type USER:PASSWD: ' -r OSM_USER_PASSWD </dev/tty | 15 | read -e -p 'Type USER:PASSWD: ' -r OSM_USER_PASSWD </dev/tty |
| 16 | fi | 16 | fi |
| 17 | 17 | ||
| 18 | # Create Changeset | ||
| 19 | CHANGESET_BODY=" | ||
| 20 | <osm> | ||
| 21 | <changeset> | ||
| 22 | <tag k='comment' v='${comment}'/> | ||
| 23 | <tag k='created_by' v='bash script'/> | ||
| 24 | <tag k='bot' v='yes'/> | ||
| 25 | </changeset> | ||
| 26 | </osm> | ||
| 27 | " | ||
| 28 | |||
| 29 | # Create changeset with given information | 18 | # Create changeset with given information |
| 30 | curl ${OSM_API}/changeset/create \ | 19 | curl ${OSM_API}/changeset/create \ |
| 31 | --user ${OSM_USER_PASSWD} \ | 20 | --user ${OSM_USER_PASSWD} \ |