From eed67604daee37240c53c5cfe8ea58320fc4d51a Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 9 Oct 2020 00:19:22 +0200 Subject: Setting up and cleaning up config and output paths --- ausbutler-single.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ausbutler-single.sh') diff --git a/ausbutler-single.sh b/ausbutler-single.sh index d1d4784..d6d84f8 100755 --- a/ausbutler-single.sh +++ b/ausbutler-single.sh @@ -5,6 +5,8 @@ cd "$(dirname "$0")" echo "Processing $TOURNAMENT..." +mkdir -p config + set -o allexport source configs/_common.env source configs/$TOURNAMENT.env @@ -15,6 +17,8 @@ do envsubst < config.template/$CONFIGFILE > config/$CONFIGFILE done +mkdir -p ${LIGA_AUSBUTLER_OUTPUT_PATH} + python jfrteamy-ausbutler/butler.py calculate generate nowait if command -v lftp &> /dev/null @@ -22,4 +26,6 @@ then lftp -f config/send.lftp fi +rm config/* + echo "Done" -- cgit v1.2.3