summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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