From 16e06c725c0e864c225353c96334b651d5657194 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 24 Dec 2020 11:45:56 +0800 Subject: update --- tools/osm/osm.api.changeset.commit | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tools/osm/osm.api.changeset.commit') diff --git a/tools/osm/osm.api.changeset.commit b/tools/osm/osm.api.changeset.commit index 5182e3b..5861750 100755 --- a/tools/osm/osm.api.changeset.commit +++ b/tools/osm/osm.api.changeset.commit @@ -15,11 +15,11 @@ if [ -z ${OSM_USER_PASSWD} ]; then read -e -p 'Type USER:PASSWD: ' -r OSM_USER_PASSWD @@ -28,6 +28,10 @@ curl ${OSM_API}/changeset/create \ EOF +} + +# Create changeset with given information +changeset_id=$(create_changeset) # Print created changeset id echo >/dev/tty -- cgit v1.2.3-70-g09d2