aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osm/osm.api.changeset.update
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osm/osm.api.changeset.update')
-rwxr-xr-xtools/osm/osm.api.changeset.update3
1 files changed, 3 insertions, 0 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3ID=${1:-$(cat /tmp/changeset 2>/dev/null)}
4[ -z $ID ] && echo Please specify Changeset ID && exit 1
5
3read -e -p 'Type comment: ' -r comment </dev/tty 6read -e -p 'Type comment: ' -r comment </dev/tty
4 7
5echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \ 8echo "<osm><changeset><tag k=\"comment\" v=\"$comment\"/></changeset></osm>" | \