From 106d497be9ce6376c6c2849d75aaed13681980af Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 2 Feb 2021 18:01:58 +0800 Subject: update --- tools/osm/osm.api.changeset.update | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/osm/osm.api.changeset.update') diff --git a/tools/osm/osm.api.changeset.update b/tools/osm/osm.api.changeset.update index da4b831..7267449 100755 --- a/tools/osm/osm.api.changeset.update +++ b/tools/osm/osm.api.changeset.update @@ -1,5 +1,8 @@ #!/bin/sh +ID=${1:-$(cat /tmp/changeset 2>/dev/null)} +[ -z $ID ] && echo Please specify Changeset ID && exit 1 + read -e -p 'Type comment: ' -r comment " | \ -- cgit v1.2.3-70-g09d2