From ed02832c8b45ccd691f985a3a281805e3728b067 Mon Sep 17 00:00:00 2001 From: Grant Heffernan Date: Thu, 9 Nov 2017 10:08:47 -0500 Subject: [PATCH] touchfile --- scripts/cut_tiles.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/cut_tiles.sh b/scripts/cut_tiles.sh index d43d0b2..779f130 100755 --- a/scripts/cut_tiles.sh +++ b/scripts/cut_tiles.sh @@ -7,6 +7,7 @@ set -e #S3_TRANSIT_PATH = Where to get transit data, e.g. s3://transit-data/dev/ export DATA_DIR=${DATA_DIR:-"/data/valhalla"} +export TOUCHFILE=${TOUCHFILE:-"${DATA_DIR}/CUT_COMPLETE"} export TILES_DIR=${TILES_DIR:-"${DATA_DIR}/tiles"} export TESTS_DIR=${TESTS_DIR:-"${DATA_DIR}/tests"} export EXTRACTS_DIR=${EXTRACTS_DIR:-"${DATA_DIR}/extracts"} @@ -267,4 +268,5 @@ if [ -n "$S3_PATH" ]; then catch_exception } fi -echo "[SUCCESS] Run complete. Valhalla tile creation finished, exiting." +echo "[SUCCESS] Run complete. Valhalla tile creation finished, exiting after touching CUT_COMPLETE file." +touch ${TOUCHFILE}