From 726ee193cb544280b063ca8b58d634f8b017938c Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Fri, 5 Feb 2021 16:11:14 +0100 Subject: [PATCH] remove build folder when deciding to skip build --- configure.sh | 3 +++ 1 file changed, 3 insertions(+) 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