diff options
author | emkael <emkael@tlen.pl> | 2020-10-09 00:19:22 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-09 00:19:22 +0200 |
commit | eed67604daee37240c53c5cfe8ea58320fc4d51a (patch) | |
tree | 6a760e4ed294afefb6640c605369b7791b86a46f /ausbutler-single.sh | |
parent | 2fe66c6dcea9e6827c87095828098fec1c920247 (diff) |
Setting up and cleaning up config and output paths
Diffstat (limited to 'ausbutler-single.sh')
-rwxr-xr-x | ausbutler-single.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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" |