From 85f87acb15b58b0881a8a5cd7c973fb77ebfffcf Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 23 Mar 2021 15:33:07 +0100 Subject: [PATCH] remove build folder when deciding to skip build, take 2 --- configure.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.sh b/configure.sh index 5dabd79..b97009f 100755 --- a/configure.sh +++ b/configure.sh @@ -27,6 +27,9 @@ fi if [[ ! -z "$ACCEPT_ANY" ]]; then if command -v sh-elf-gcc >/dev/null 2>&1; then echo "$TAG sh-elf-gcc in PATH and ACCEPT_ANY is set, skipping build" + if [[ -e build ]]; then + rm -rf build + fi exit 0 fi fi