From 4e5828e749bcef42c39395c14d18c193838331fd Mon Sep 17 00:00:00 2001 From: Steffen Volkmann Date: Sun, 16 Jun 2019 08:34:04 +0200 Subject: [PATCH] error correction wrong usage of environment variable inside script openstreetmap-tiles-update-expire --- openstreetmap-tiles-update-expire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstreetmap-tiles-update-expire b/openstreetmap-tiles-update-expire index 50c3fa2..b4694b6 100644 --- a/openstreetmap-tiles-update-expire +++ b/openstreetmap-tiles-update-expire @@ -148,7 +148,7 @@ fi m_error "Osmosis error" fi -if [ -f TRIM_POLY_FILE ] ; then +if [ -f $TRIM_POLY_FILE ] ; then m_ok "filtering diff" /var/lib/mod_tile/data.poly if ! $TRIM_BIN $TRIM_OPTIONS $TRIM_REGION_OPTIONS -z $CHANGE_FILE $CHANGE_FILE 1>&2 2>> "$RUNLOG"; then