diff options
Diffstat (limited to 'utils/osm')
-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 | ||