From ec3a8ef13cdc758f7ea29b66497376c24af3ee7d Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 21 Nov 2019 20:09:50 +0800 Subject: update --- scripts/osm/osm.pbf.update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/osm') 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 # get next sequence number and store it into NEW_SEQ NEW_SEQ=$(osmium fileinfo $PBF_FILE |\ -grep osmosis_replication_sequence_number |\ -cut -d'=' -f2 |\ -sed 's/$/+1/' | bc) + grep osmosis_replication_sequence_number |\ + cut -d'=' -f2 |\ + sed 's/$/+1/' | bc) # while server has osc file with given sequence number, # get it and do file update -- cgit v1.2.3-70-g09d2