Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit ed02832

Browse files
committed
touchfile
1 parent c36e843 commit ed02832

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/cut_tiles.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set -e
77
#S3_TRANSIT_PATH = Where to get transit data, e.g. s3://transit-data/dev/
88

99
export DATA_DIR=${DATA_DIR:-"/data/valhalla"}
10+
export TOUCHFILE=${TOUCHFILE:-"${DATA_DIR}/CUT_COMPLETE"}
1011
export TILES_DIR=${TILES_DIR:-"${DATA_DIR}/tiles"}
1112
export TESTS_DIR=${TESTS_DIR:-"${DATA_DIR}/tests"}
1213
export EXTRACTS_DIR=${EXTRACTS_DIR:-"${DATA_DIR}/extracts"}
@@ -267,4 +268,5 @@ if [ -n "$S3_PATH" ]; then
267268
catch_exception
268269
}
269270
fi
270-
echo "[SUCCESS] Run complete. Valhalla tile creation finished, exiting."
271+
echo "[SUCCESS] Run complete. Valhalla tile creation finished, exiting after touching CUT_COMPLETE file."
272+
touch ${TOUCHFILE}

0 commit comments

Comments
 (0)