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
|
shift
|
||||||
sent=0
|
sent=0
|
||||||
cd $TESTROOT/reports
|
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
|
for faction in $* ; do
|
||||||
send $faction
|
send $faction
|
||||||
sent=1
|
sent=1
|
||||||
|
|
Loading…
Reference in a new issue