Simplify build directory clean up

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2021-11-05 16:26:48 +00:00
parent 16b2f93bf5
commit 21de971a94
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43
1 changed files with 1 additions and 5 deletions

View File

@ -38,11 +38,7 @@ fi
# Initialise Git submodules
git submodule update --init --recursive
# Clear build directory, but do a conditional first!
if [ -d "./build" ]; then
rm -rf ./build
fi
rm -rf ./build
# Previous versions of this script created the build directory, and CD'd into it - CMake allows us to do this another way...