aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/osm/osm.api.changeset.create
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/osm/osm.api.changeset.create')
-rwxr-xr-xscripts/osm/osm.api.changeset.create11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/osm/osm.api.changeset.create b/scripts/osm/osm.api.changeset.create
index 762fbdb..ed2601a 100755
--- a/scripts/osm/osm.api.changeset.create
+++ b/scripts/osm/osm.api.changeset.create
@@ -12,11 +12,10 @@ info="<osm>
12 </osm> 12 </osm>
13 " 13 "
14 14
15echo $info |\ 15changeset_id=$(echo $info |\
16curl -u $OSM_USER_PASSWD --upload-file - $OSM_API/changeset/create |\ 16 curl -u $OSM_USER_PASSWD --upload-file - $OSM_API/changeset/create |\
17tee /dev/tty |\ 17 tail -1)
18tail -1 | read changeset_id
19 18
20echo " copied into clipboard" 19echo
21echo "changeset created, check $OSM_SERVER/changeset/$changeset_id" 20echo "changeset created, check $OSM_SERVER/changeset/$changeset_id"
22echo $changeset_id | xsel -ib 21echo "$changeset_id is copied into clipboard"