blob: 820086da94946a37a34cf9293a4d63ee0ebe946b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
set -eu
TOURNAMENT=$1
cd "$(dirname "$0")"
echo "Processing $TOURNAMENT..."
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
lftp -f config/send.lftp
echo "Done"
|