diff --git a/configure.sh b/configure.sh index bd8cb4b..a902631 100755 --- a/configure.sh +++ b/configure.sh @@ -27,6 +27,9 @@ fi if [[ ! -z "$ACCEPT_ANY" ]]; then if command -v sh-elf-as >/dev/null 2>&1; then echo "$TAG Found sh-elf-as in PATH and ACCEPT_ANY is set, skipping build" + if [[ -e build ]]; then + rm -rf build + fi exit 0 fi fi