fix path to poyosmium-get-changes

This commit is contained in:
Greg 2022-06-16 11:33:00 -04:00
parent 78c423ddc1
commit fbdabea4c9
No known key found for this signature in database
GPG Key ID: B016D27A4C5E4363

View File

@ -115,7 +115,7 @@ if [ $# -eq 1 ] ; then
mkdir -p $WORKOSM_DIR
$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_')
wget $REPLICATION_URL/$url_dynamicPart.state.txt -O $WORKOSM_DIR/state.txt