diff options
Diffstat (limited to 'ausbutler-single.sh')
-rwxr-xr-x | ausbutler-single.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh index 322c9ab..2f95c68 100755 --- a/ausbutler-single.sh +++ b/ausbutler-single.sh @@ -5,7 +5,15 @@ cd "$(dirname "$0")" echo "Processing $TOURNAMENT..." -ln -sfn configs/config.$TOURNAMENT config +set -o allexport +source configs/_common.env +source configs/$TOURNAMENT.env +set +o allexport + +ls config.template | while read CONFIGFILE +do + envsubst < config.template/$CONFIGFILE > config/$CONFIGFILE +done python jfrteamy-ausbutler/butler.py calculate generate nowait echo "Done" |