.rootrc-questions

Hi,

I’ve written a program that uses reads in a root-tree and creates some histograms from it. Is there any way to get this program to ignore any .rootrc-files in the current directory?
The reason I’m asking is because I have some directories with specialized .rootrc-files which contain environment variables which are not always defined. If I’m calling the program in such a directory without the variables being set I get a long list of error messages (from TUnixSystem::ExpandFileName) before the program starts.
So can I somehow tell the program to ignore this .rootrc or is there any #ifdef kind of statement I can put into the .rootrc-file?

No there is no such option. If you go out of your way to make a ./.rootrc maybe make another directory without .rootrc and run from there (in this directory you can put links to whatever you need from the other directory).

– Fons