Set HOMEBREW_TEMP to something shorter

This fixes unix socket errors, because there's a max path length for
those.
This commit is contained in:
2021-11-13 16:45:12 +01:00
parent c2a8d39fb4
commit 32f3c36589
2 changed files with 8 additions and 4 deletions

View File

@@ -12,4 +12,8 @@ if [ "${OS}" = "WINDOWS" ] ; then
rm -Rf /c/ghcup
fi
if [ "${OS}" = "DARWIN" ] ; then
rm -Rf /private/tmp/.brew_tmp
fi
exit 0