Skip to content
Snippets Groups Projects
Commit 15d5fca1 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 757cc7a1
Branches
Tags
No related merge requests found
...@@ -673,6 +673,17 @@ void Foam::argList::parse ...@@ -673,6 +673,17 @@ void Foam::argList::parse
adjustOpt = true; adjustOpt = true;
source = source/"decomposeParDict"; 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 // Could also check for absolute path, but shouldn't be needed
if (adjustOpt) if (adjustOpt)
{ {
......
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