aboutsummaryrefslogtreecommitdiffhomepage
path: root/utils
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-12 14:30:20 +0800
committertypebrook <typebrook@gmail.com>2019-11-12 14:30:20 +0800
commit2d2594e95e3e6a52ddb90cb66165ec297243b5d0 (patch)
tree81a57cf2b10bd31d3a1f8feeb85e84cc990ec519 /utils
parenta84199f155f56d13d554c9427b5351d0d8807ef7 (diff)
update
Diffstat (limited to 'utils')
-rw-r--r--utils/osm3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/osm b/utils/osm
index aad1de3..f71fbc2 100644
--- a/utils/osm
+++ b/utils/osm
@@ -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