TMPDIR should be set in rbm so all scripts in tor-browser-build use it if needed
tmp_dir
is set to [% c("basedir") %]/tmp
in rbm.conf
and can get overriden in a local rbm config file. Sometimes /tmp is too small for building projects which motivated both the current default as the option to override it.
However, fetch-gradle-dependencies
does not respect that by simply doing m2dir="$(mktemp -d)"
.