forked from github/server
Merge branch 'develop' of https://github.com/ennorehling/eressea.git
This commit is contained in:
commit
e4c2a13b07
1 changed files with 4 additions and 2 deletions
|
@ -16,8 +16,10 @@ else
|
|||
mv orders.dir "orders.dir.$TURN"
|
||||
mkdir -p orders.dir
|
||||
fi
|
||||
#shellcheck disable=2011
|
||||
ls -1rt "orders.dir.$TURN/turn-*" | xargs cat > "orders.$TURN"
|
||||
find orders.dir.$TURN -maxdepth 1 -type f -printf "%T+\t%p\n" | sort | cut -f2 | while read
|
||||
do
|
||||
cat "$REPLY" >> orders.$TURN
|
||||
done
|
||||
|
||||
lockfile -r3 -l120 orders.queue.lock
|
||||
if [ -e orders.queue ] ; then
|
||||
|
|
Loading…
Reference in a new issue