Simplify build directory clean up
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
parent
16b2f93bf5
commit
21de971a94
|
@ -38,11 +38,7 @@ fi
|
||||||
# Initialise Git submodules
|
# Initialise Git submodules
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
# Clear build directory, but do a conditional first!
|
|
||||||
|
|
||||||
if [ -d "./build" ]; then
|
|
||||||
rm -rf ./build
|
rm -rf ./build
|
||||||
fi
|
|
||||||
|
|
||||||
# Previous versions of this script created the build directory, and CD'd into it - CMake allows us to do this another way...
|
# Previous versions of this script created the build directory, and CD'd into it - CMake allows us to do this another way...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue