buildme, autoclean after c++

This commit is contained in:
vectorsigma72 2020-02-18 00:53:58 +01:00
parent 7fa464fde0
commit f0553398b1

View File

@ -132,6 +132,15 @@ fi
buildClover() {
checkTools
cd "${CLOVERROOT}"
mkdir -p Conf
if [[ -f "${CLOVERROOT}"/Conf/tools_def.txt ]]; then
if ! grep -q mtoc.NEW_jief "${CLOVERROOT}"/Conf/tools_def.txt; then
rm -f "${CLOVERROOT}"/Conf/*
rm -rf "${CLOVERROOT}"/Build/*
cleanBaseTools
fi
fi
cd "${CLOVERROOT}"
if [[ -z "$WORKSPACE" ]]; then