aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/osm/osm.pbf.update4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/osm/osm.pbf.update b/scripts/osm/osm.pbf.update
index 599076f..102d158 100755
--- a/scripts/osm/osm.pbf.update
+++ b/scripts/osm/osm.pbf.update
@@ -1,6 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2 2
3PBF_FILE=$1
4GEOFABRICK_SERVER=http://download.geofabrik.de/asia/taiwan-updates 3GEOFABRICK_SERVER=http://download.geofabrik.de/asia/taiwan-updates
5 4
6# get next sequence number and store it into NEW_SEQ 5# get next sequence number and store it into NEW_SEQ
@@ -27,6 +26,7 @@ do
27 --overwrite \ 26 --overwrite \
28 --output $NEW_SEQ.osm.pbf 27 --output $NEW_SEQ.osm.pbf
29 28
30 PBF_FILE=$NEW_SEQ.osm.pbf 29 mv $1 $((NEW_SEQ-1)).osm.pbf
30 mv $NEW_SEQ.osm.pbf $1
31 ((NEW_SEQ++)) 31 ((NEW_SEQ++))
32done 32done