read turn file before sending

This commit is contained in:
Enno Rehling 2014-08-16 18:57:06 +02:00
parent d880de0b2a
commit bb9d59bac5

View file

@ -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