ROOT build_dir fix/workaround
Attempt to address issue #4 . Not perfect, but I think it is 'good enough' to go with for now.
-
Set the default build_dir to be under $PWD instead of $HOME
- should work better under a group account (with different personal directories)
-
Make the ROOT build process use a flat build directory by setting second arg to kTRUE in gSystem->SetBuildDir()
- This avoids an apparent race condition in ROOT associated with child directory creation in the default 'kFALSE' mode.
- The default mode will work correctly on the 2nd execution since the child directories are created, ROOT just doesn't notice in time. This would be fine for interactive use, but not great for the Farm environment, hence the change.
- The flat build_dir namesapce does open a different corner-case of course. However, I think this is an unlikely condition. Things would be pretty broken/strange for two different scripts with the same basename (but different internal code) to be compiled and loaded without some significant warnings/errors anyway (famous last words...)