diff --git a/scripts/process_subways.sh b/scripts/process_subways.sh index 50548a5..7ede353 100755 --- a/scripts/process_subways.sh +++ b/scripts/process_subways.sh @@ -111,6 +111,7 @@ if [ ! -f "$SUBWAYS_PATH/process_subways.py" ]; then fi TMPDIR="${TMPDIR:-$SUBWAYS_PATH}" +mkdir -p "$TMPDIR" # Downloading the latest version of the subways script if [ -n "${GIT_PULL-}" ]; then ( @@ -233,6 +234,10 @@ fi # Running the validation +if [ -n "${DUMP-}" ]; then + mkdir -p "$DUMP" +fi + VALIDATION="$TMPDIR/validation.json" "$PYTHON" "$SUBWAYS_PATH/process_subways.py" ${QUIET:+-q} \ -x "$FILTERED_DATA" -l "$VALIDATION" \