From 81184bf2ae7386a7fa21f6652f627740c7fc9a1e Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 18 Aug 2019 07:20:26 +0000 Subject: [PATCH] Remove root build directory when cleaning up previous builds using cmake-build.sh. --- scripts/cmake-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmake-build.sh b/scripts/cmake-build.sh index 0348c56..97563a9 100755 --- a/scripts/cmake-build.sh +++ b/scripts/cmake-build.sh @@ -16,7 +16,7 @@ do mkdir build (cd build && cmake .. && cmake --build .) elif [ $bChoice -eq 2 ] ; then # Cleanup build - rm -Rv build/* + rm -Rv build/ elif [ $bChoice -eq 0 ] ; then # Exit script break else