forked from github/server
read turn file before sending
This commit is contained in:
parent
d880de0b2a
commit
bb9d59bac5
1 changed files with 4 additions and 0 deletions
|
@ -144,6 +144,10 @@ case "$1" in
|
|||
shift
|
||||
sent=0
|
||||
cd $TESTROOT/reports
|
||||
if [ $turn -eq 0 ]; then
|
||||
[ -f $TESTROOT/turn ] || abort "missing turn file, and no turn specified"
|
||||
let turn=$(cat $TESTROOT/turn)
|
||||
fi
|
||||
for faction in $* ; do
|
||||
send $faction
|
||||
sent=1
|
||||
|
|
Loading…
Reference in a new issue