mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
remove build folder when deciding to skip build
This commit is contained in:
parent
ba14e905f3
commit
cdc1ac5da9
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ if [[ -f "$existing_gcc" ]]; then
|
|||
existing_version=$(sh-elf-gcc --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
|
||||
|
|
Loading…
Reference in a new issue