forked from github/server
Merge branch 'version-3-3'
This commit is contained in:
commit
c02b6b0d35
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue