mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
argList : remove FOAM_ROOT again. Use FOAM_CASE and delay expansion in BCs.
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user