17 lines
385 B
Diff
17 lines
385 B
Diff
--- create-orders.org 2020-12-03 20:21:23.379383000 +0000
|
|
+++ create-orders 2020-12-03 20:22:20.290087000 +0000
|
|
@@ -10,12 +10,12 @@
|
|
|
|
cd "$ERESSEA/game-$GAME" || exit
|
|
|
|
-lockfile -r3 -l120 orders.queue.lock
|
|
if [ -d "orders.dir.$TURN" ]; then
|
|
echo "orders.dir.$TURN already exists"
|
|
exit
|
|
fi
|
|
rm -f "orders.$TURN"
|
|
+lockfile -r3 -l120 orders.queue.lock
|
|
|
|
cd orders.dir || exit
|
|
|