diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-13 17:27:54 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-13 17:27:54 +0800 |
commit | 58630ff468bb1d2c6ba36d1f31ef1e97775fdfb1 (patch) | |
tree | ac1dcd6e00f402767b50a54b98a911ecc908243c /tools/osm | |
parent | 8dba87abc5c8634cd668eb10cc17d226241e8917 (diff) |
update
Diffstat (limited to 'tools/osm')
-rwxr-xr-x | tools/osm/osm.api.changeset.commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osm/osm.api.changeset.commit b/tools/osm/osm.api.changeset.commit index bf27cb0..ec766a0 100755 --- a/tools/osm/osm.api.changeset.commit +++ b/tools/osm/osm.api.changeset.commit | |||
@@ -61,4 +61,4 @@ sed -Ee "/<(node|way|relation)/ s/>/ changeset=\"${changeset_id}\">/" $FILE |\ | |||
61 | uploade_file_to_changeset | if [[ $(cat) != '200' ]]; then exit 1; fi | 61 | uploade_file_to_changeset | if [[ $(cat) != '200' ]]; then exit 1; fi |
62 | 62 | ||
63 | # Close Changeset | 63 | # Close Changeset |
64 | curl -X PUT --user ${OSM_USER_PASSWD} -i ${OSM_API}/changeset/${changeset_id}/close | 64 | curl --silent -X PUT --user ${OSM_USER_PASSWD} -i ${OSM_API}/changeset/${changeset_id}/close |