diff --git a/buildme b/buildme index 3ee06cbd5..a9ec43369 100755 --- a/buildme +++ b/buildme @@ -132,17 +132,11 @@ 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}" +# to force recreation of the Conf folder. You can sill use a custom CONF_PATH if you don't want recreation. +rm -rf "$CLOVERROOT"/Conf +mkdir "$CLOVERROOT"/Conf +cd "${CLOVERROOT}" if [[ -z "$WORKSPACE" ]]; then export EDK_TOOLS_PATH="${PWD}"/BaseTools set +u