Fixed warning on existing links
This commit is contained in:
parent
a180a291f4
commit
a6740cffd2
1 changed files with 10 additions and 7 deletions
|
@ -880,11 +880,13 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
// link with relative paths
|
||||
// Link with relative paths
|
||||
const string parentPath = string("..")/"..";
|
||||
|
||||
fileName currentDir(cwd());
|
||||
chDir(timePath);
|
||||
if (!exists(parentPath/runTime.timeName()/uniformDir))
|
||||
{
|
||||
ln
|
||||
(
|
||||
parentPath/runTime.timeName()/uniformDir,
|
||||
|
@ -894,6 +896,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (tetMeshPtr)
|
||||
|
|
Reference in a new issue