diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-08-24 17:47:56 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-08-24 17:47:56 +0800 |
commit | b5d148fcb3526a7932bd1f65bc8a553ce6ef9ea3 (patch) | |
tree | b245a83dad6f7403a3cbcb11e5d828385519e053 /tools/osm/osm.api.changeset.commit | |
parent | 9ecac72aef0b51c78822991e614520eb7d004828 (diff) |
update
Diffstat (limited to 'tools/osm/osm.api.changeset.commit')
-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} \ |