Merge branch 'version-3-3'

This commit is contained in:
Enno Rehling 2014-12-12 18:15:24 +01:00
commit c02b6b0d35
1 changed files with 3 additions and 0 deletions

View File

@ -13,12 +13,15 @@ if [ -d $REPORTS ]; then
fi fi
mkdir $REPORTS mkdir $REPORTS
$BIN/backup-eressea $GAME $BIN/backup-eressea $GAME
cd $ERESSEA/game-$GAME
if [ -d test ]; then if [ -d test ]; then
touch test/execute.lock touch test/execute.lock
fi fi
rm -f execute.lock rm -f execute.lock
$BIN/run-turn $GAME $BIN/run-turn $GAME
touch execute.lock touch execute.lock
if [ ! -s $ERESSEA/game-$GAME/orders.$TURN ]; then if [ ! -s $ERESSEA/game-$GAME/orders.$TURN ]; then
echo "server did not create orders for turn $TURN in game $GAME" echo "server did not create orders for turn $TURN in game $GAME"
exit 2 exit 2