aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/osm
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-21 20:09:50 +0800
committertypebrook <typebrook@gmail.com>2019-11-21 20:09:50 +0800
commitec3a8ef13cdc758f7ea29b66497376c24af3ee7d (patch)
treefffb4e4bb246f2bbd19b4f0bc1c540dc10536713 /scripts/osm
parent30adb533661e2a5aa50384e8e35da5cda9d41f43 (diff)
update
Diffstat (limited to 'scripts/osm')
-rwxr-xr-xscripts/osm/osm.pbf.update6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/osm/osm.pbf.update b/scripts/osm/osm.pbf.update
index b0168ea..9dec41c 100755
--- a/scripts/osm/osm.pbf.update
+++ b/scripts/osm/osm.pbf.update
@@ -5,9 +5,9 @@ PBF_FILE=$1
5 5
6# get next sequence number and store it into NEW_SEQ 6# get next sequence number and store it into NEW_SEQ
7NEW_SEQ=$(osmium fileinfo $PBF_FILE |\ 7NEW_SEQ=$(osmium fileinfo $PBF_FILE |\
8grep osmosis_replication_sequence_number |\ 8 grep osmosis_replication_sequence_number |\
9cut -d'=' -f2 |\ 9 cut -d'=' -f2 |\
10sed 's/$/+1/' | bc) 10 sed 's/$/+1/' | bc)
11 11
12# while server has osc file with given sequence number, 12# while server has osc file with given sequence number,
13# get it and do file update 13# get it and do file update