Merge remote-tracking branch 'eressea/master'

This commit is contained in:
Enno Rehling 2014-12-12 22:49:20 +01:00
commit 3d24764e08
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