new dependency, quick hack for uploaded orders

This commit is contained in:
Enno Rehling 2020-06-26 19:09:32 +02:00
parent 0dc4027984
commit 14f4750411
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ This repository contains the source code for the Play-by-Mail strategy game [Ere
Eressea depends on a number of external libraries. On a recent Debian-based Linux system, this is the apt-get command to install all of them:
sudo apt-get install git cmake gcc make libxml2-dev liblua5.2-dev libtolua-dev libncurses5-dev libsqlite3-dev
sudo apt-get install git cmake gcc make libxml2-dev liblua5.2-dev libtolua-dev libncurses5-dev libsqlite3-dev luarocks
# How to check out and build the Eressea server

View File

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