Cannot prevent use of user config.sh directories
This can hit when building for spack, debian, rpms as a normal user.
Using foamEtcFile
to locate elements such as config.sh/mpi
mean that any existing entries under ~/.OpenFOAM
will be seen and possibly influence the build.
Another potential problem could arise on cluster installations. The administrator may wish to lock down the OpenFOAM configuration values to avoid issues.