Commit a7508ac6 authored by Mark Olesen's avatar Mark Olesen
Browse files

argList : remove FOAM_ROOT again. Use FOAM_CASE and delay expansion in BCs.

parent 98e1b15f
......@@ -535,16 +535,6 @@ Foam::argList::argList
// Set the case as an environment variable
setEnv("FOAM_CASE", rootPath_/globalCase_, true);
// Set the relative parent directory as an environment variable
if (parRunControl_.parRun())
{
setEnv("FOAM_ROOT", "..", true);
}
else
{
setEnv("FOAM_ROOT", ".", true);
}
// Switch on signal trapping. We have to wait until after Pstream::init
// since this sets up its own ones.
sigFpe_.set();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment