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