fix/release-mac-idempotent
prod
git clone fails on a non-empty /tmp/mariadb-server (left over from an earlier build on the same machine), crashing the script mid-way. Clear the stale MariaDB dir before cloning and the stale PostgreSQL build dirs before extracting.