mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-binutils.git
synced 2025-06-06 19:35:03 +02:00
remove build folder when deciding to skip build
This commit is contained in:
parent
b6584716e8
commit
726ee193cb
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ if [[ -f "$existing_as" ]]; then
|
||||||
existing_version=$($existing_as --version | head -n 1 | grep -Eo '[0-9.]+$')
|
existing_version=$($existing_as --version | head -n 1 | grep -Eo '[0-9.]+$')
|
||||||
if [[ $existing_version == $VERSION ]]; then
|
if [[ $existing_version == $VERSION ]]; then
|
||||||
echo "$TAG Version $VERSION already installed, skipping rebuild"
|
echo "$TAG Version $VERSION already installed, skipping rebuild"
|
||||||
|
if [[ -e build ]]; then
|
||||||
|
rm -rf build
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue