Skip to content
Snippets Groups Projects
Commit 0c9d6503 authored by mattijs's avatar mattijs
Browse files

BUG: includeEntry: allow environment variables

parent b59f0ba4
Branches
Tags
No related merge requests found
......@@ -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())
{
......
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