This commit is contained in:
Enno Rehling 2017-12-17 10:19:19 +01:00
commit efb78ea8db
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ else
mv orders.dir "orders.dir.$TURN" mv orders.dir "orders.dir.$TURN"
mkdir -p orders.dir mkdir -p orders.dir
fi fi
find orders.dir.$TURN -maxdepth 1 -type f -printf "%T+\t%p\n" | sort | cut -f2 | while read find "orders.dir.$TURN" -maxdepth 1 -type f -printf "%T+\t%p\n" | sort | cut -f2 | while read -r
do do
cat "$REPLY" >> orders.$TURN cat "$REPLY" >> "orders.$TURN"
done done
lockfile -r3 -l120 orders.queue.lock lockfile -r3 -l120 orders.queue.lock