From 21de971a9421696863ae5053be80458f59d6ebe2 Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Fri, 5 Nov 2021 16:26:48 +0000 Subject: [PATCH] Simplify build directory clean up Signed-off-by: Dom Rodriguez --- clean_build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/clean_build.sh b/clean_build.sh index f24079f5..0ee4372d 100755 --- a/clean_build.sh +++ b/clean_build.sh @@ -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...