do not include the database when creating order file the old way

This commit is contained in:
Enno Rehling 2019-05-09 21:55:45 +02:00
parent ef90806ca0
commit 182d7df480
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ else
mkdir -p orders.dir mkdir -p orders.dir
fi fi
rm -f "orders.$TURN" rm -f "orders.$TURN"
find "orders.dir.$TURN" -maxdepth 1 -type f -printf "%T+\t%p\n" | sort | cut -f2 | while read -r find "orders.dir.$TURN" -maxdepth 1 -name "turn-*" -type f -printf "%T+\t%p\n" | sort | cut -f2 | while read -r
do do
tr -d '\r' < "$REPLY" >> "orders.$TURN" tr -d '\r' < "$REPLY" >> "orders.$TURN"
done done