diff options
| author | typebrook <typebrook@gmail.com> | 2019-11-12 14:30:20 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-11-12 14:30:20 +0800 |
| commit | 2d2594e95e3e6a52ddb90cb66165ec297243b5d0 (patch) | |
| tree | 81a57cf2b10bd31d3a1f8feeb85e84cc990ec519 /utils | |
| parent | a84199f155f56d13d554c9427b5351d0d8807ef7 (diff) | |
update
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/osm | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -178,12 +178,13 @@ osm.api.changeset.create() { | |||
| 178 | info="<osm> | 178 | info="<osm> |
| 179 | <changeset> | 179 | <changeset> |
| 180 | <tag k='comment' v='$comment'/> | 180 | <tag k='comment' v='$comment'/> |
| 181 | <tag k='bot' v='yes'/> | ||
| 181 | </changeset> | 182 | </changeset> |
| 182 | </osm> | 183 | </osm> |
| 183 | " | 184 | " |
| 184 | 185 | ||
| 185 | echo $info |\ | 186 | echo $info |\ |
| 186 | curl -u $OSM_USER_PASSWD -i --upload-file - $OSM_API/changeset/create |\ | 187 | curl -u $OSM_USER_PASSWD --upload-file - $OSM_API/changeset/create |\ |
| 187 | tee /dev/tty |\ | 188 | tee /dev/tty |\ |
| 188 | tail -1 | read changeset_id | 189 | tail -1 | read changeset_id |
| 189 | 190 | ||