[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41786: Add comment to rbm.local.conf.example about tmp_dir definition



Title: GitLab

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:

Changes:

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

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx