boklm pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
b7acf865 by Nicolas Vigier at 2026-04-29T13:10:40+02:00
Bug 41786: Add comment to rbm.local.conf.example about tmp_dir definition

Warn about potential recursive loops in tmp_dir definition to avoid
issues such as rbm#40105.

- - - - -


1 changed file:

- rbm.local.conf.example


Changes:

=====================================
rbm.local.conf.example
=====================================
@@ -9,7 +9,15 @@
 ### The tmp_dir option defines where temporary files are stored. The
 ### builds are made from this directory, so using a directory on a fast
 ### disk can improve build time. By default we are using a tmp directory
-### under the tor-browser-build directory.
+### under the tor-browser-build directory. Using templating in the
+### definition of this option is possible, however you should make sure
+### to avoid a recursive definition as the evaluation of some options
+### depend on tmp_dir (this is for example the case with the
+### `link_input_files` option). If you want to use an option that
+### depends on tmp_dir you may set a static value for tmp_dir in the
+### options argument to avoid a recursive loop, assuming that the actual
+### value of tmp_dir doesn't really matter for this option (you can use
+### for example `c("link_input_files", { tmp_dir => "/tmp" })`).
 #tmp_dir: /tmp
 
 ### The debug option defines whether a debugging shell should be opened



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b7acf865b91e65118fd3457a180430b6df837a44

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/b7acf865b91e65118fd3457a180430b6df837a44
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to