diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/osm/osm.pbf.update | 6 |
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 |
7 | NEW_SEQ=$(osmium fileinfo $PBF_FILE |\ | 7 | NEW_SEQ=$(osmium fileinfo $PBF_FILE |\ |
8 | grep osmosis_replication_sequence_number |\ | 8 | grep osmosis_replication_sequence_number |\ |
9 | cut -d'=' -f2 |\ | 9 | cut -d'=' -f2 |\ |
10 | sed '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 |