When I’m trying to install llvm@7, brew fails to pour the bottle because my /tmp is full. I have set HOMEBREW_TEMP to different directory and the bottle is still extracted to /tmp.
Is it the intended behaviour?
If I build from source, the archive will be extracted to HOMEBREW_TEMP.
If I change bin/brew and add TMPDIR to the whitelist, the bottle will be extracted in TMPDIR as Ruby uses TMPDIR to guess the temp directory.
I’m happy to do a PR for this problem but I have no idea on the impact