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