Don't fail if logs exists and is an empty dir

pull/21833/head
David Baker 2020-01-03 15:16:02 +00:00
parent 23dffb69ac
commit 2970a9faaf
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ echo "--- Install synapse & other dependencies"
./install.sh
# install static webserver to server symlinked local copy of riot
./riot/install-webserver.sh
mkdir logs || rm -r logs/*
rm -r logs || true
mkdir logs
echo "+++ Running end-to-end tests"
TESTS_STARTED=1
./run.sh --no-sandbox --log-directory logs/