mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: includeEntry: allow environment variables
This commit is contained in:
@ -74,7 +74,10 @@ Foam::fileName Foam::functionEntries::includeEntry::includeFileName
|
||||
)
|
||||
{
|
||||
fileName fName(is);
|
||||
// Substitute dictionary entries
|
||||
stringOps::inplaceExpand(fName, dict);
|
||||
// Substitute remaining environment variables
|
||||
fName.expand();
|
||||
|
||||
if (fName.empty() || fName.isAbsolute())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user