ci: drop redundant existance check before rm -rf

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
This commit is contained in:
Eric Engestrom 2026-04-01 20:44:23 +02:00 committed by Marge Bot
parent 051ff429fd
commit 1866a1b36f

View file

@ -130,9 +130,7 @@ export -f _error_msg
if [ -z "${RESULTS_DIR:-}" ]; then
export RESULTS_DIR="${PWD%/}/results"
if [ -e "${RESULTS_DIR}" ]; then
rm -rf "${RESULTS_DIR}"
fi
rm -rf "${RESULTS_DIR}"
mkdir -p "${RESULTS_DIR}"
fi