fix path to poyosmium-get-changes
This commit is contained in:
parent
78c423ddc1
commit
fbdabea4c9
@ -115,7 +115,7 @@ if [ $# -eq 1 ] ; then
|
|||||||
mkdir -p $WORKOSM_DIR
|
mkdir -p $WORKOSM_DIR
|
||||||
$OSMOSIS_BIN -v 5 --read-replication-interval-init workingDirectory=$WORKOSM_DIR 1>&2 2> "$OSMOSISLOG"
|
$OSMOSIS_BIN -v 5 --read-replication-interval-init workingDirectory=$WORKOSM_DIR 1>&2 2> "$OSMOSISLOG"
|
||||||
|
|
||||||
init_seq=$(pyosmium-get-changes --server $REPLICATION_URL -D $1)
|
init_seq=$(/usr/lib/python3-pyosmium/pyosmium-get-changes/pyosmium-get-changes --server $REPLICATION_URL -D $1)
|
||||||
url_dynamicPart=$(printf %09d $init_seq | sed 's_\([0-9][0-9][0-9]\)\([0-9][0-9][0-9]\)\([0-9][0-9][0-9]\)_\1/\2/\3_')
|
url_dynamicPart=$(printf %09d $init_seq | sed 's_\([0-9][0-9][0-9]\)\([0-9][0-9][0-9]\)\([0-9][0-9][0-9]\)_\1/\2/\3_')
|
||||||
wget $REPLICATION_URL/$url_dynamicPart.state.txt -O $WORKOSM_DIR/state.txt
|
wget $REPLICATION_URL/$url_dynamicPart.state.txt -O $WORKOSM_DIR/state.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user