remove build folder when deciding to skip build, take 2

This commit is contained in:
Lephenixnoir 2021-03-23 15:33:07 +01:00
parent 2d8919397f
commit 85f87acb15
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -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