diff --git a/configure.sh b/configure.sh index 62b26bb..1ba4454 100755 --- a/configure.sh +++ b/configure.sh @@ -15,6 +15,9 @@ if [[ -f "$existing_as" ]]; then existing_version=$($existing_as --version | head -n 1 | grep -Eo '[0-9.]+$') if [[ $existing_version == $VERSION ]]; then echo "$TAG Version $VERSION already installed, skipping rebuild" + if [[ -e build ]]; then + rm -rf build + fi exit 0 fi fi