Commit ca3f2951 authored by mattijs's avatar mattijs
Browse files

BUG: argList: -decomposeParDict handling in combination with -case.

Related to #482 but this one is the handling inside argList.
parent a8510763
......@@ -673,6 +673,17 @@ void Foam::argList::parse
adjustOpt = true;
source = source/"decomposeParDict";
}
if
(
!source.isAbsolute()
&& !(source.size() && source[0] == '.')
)
{
source = rootPath_/globalCase_/source;
adjustOpt = true;
}
// Could also check for absolute path, but shouldn't be needed
if (adjustOpt)
{
......
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