mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use foamVersion::api instead of OPENFOAM define
- for referencing the etc locations, or reporting the current API value.
This commit is contained in:
@ -26,6 +26,7 @@ License
|
||||
#include "systemCall.H"
|
||||
#include "Time.H"
|
||||
#include "dynamicCode.H"
|
||||
#include "foamVersion.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
@ -127,7 +128,7 @@ bool Foam::functionObjects::systemCall::read(const dictionary& dict)
|
||||
<< " allowSystemOperations 1" << nl << nl
|
||||
<< "to the InfoSwitches setting in the system controlDict." << nl
|
||||
<< "The system controlDict is any of" << nl << nl
|
||||
<< " ~/.OpenFOAM/" << OPENFOAM << "/controlDict" << nl
|
||||
<< " ~/.OpenFOAM/" << foamVersion::api << "/controlDict" << nl
|
||||
<< " ~/.OpenFOAM/controlDict" << nl
|
||||
<< " $WM_PROJECT_DIR/etc/controlDict" << nl << endl
|
||||
<< exit(FatalError);
|
||||
|
||||
Reference in New Issue
Block a user