Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1010
Closed
Open
Issue created Sep 18, 2018 by Mark OLESEN@markMaintainer

inconsistency in handling of FOAMversion

Issue raised (or stumbled over) by @escrmic

The compilation scripts define Foam::FOAMversion based on the version information at compile time (eg, WM_PROJECT_VERSION=1612). Subsequent renaming of the version within the etc/bashrc (eg, WM_PROJECT_VERSION=1612.update2 or whatever) will not be respected in the internal findEtcFiles() lookups. This can lead to a slight dichotomy since bin/foamEtcFile will use the current value of WM_PROJECT_VERSION. Thus foamEtcFile and findEtcFiles() will potentially locate different version-specific user or site files.

Edited Sep 18, 2018 by Mark OLESEN
Assignee
Assign to
Time tracking