diff options
-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" |