Skip to content
Snippets Groups Projects
Commit 8555947e authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Massimiliano Culpo
Browse files

Explicitly cast Version to str in openfoam-org (#6880)

parent 4d4fc876
No related branches found
No related tags found
No related merge requests found
......@@ -207,8 +207,8 @@ def patch(self):
edits = {
'WM_THIRD_PARTY_DIR':
r'$WM_PROJECT_DIR/ThirdParty #SPACK: No separate third-party',
'WM_VERSION': self.version, # consistency
'FOAMY_HEX_MESH': '', # This is horrible (unset variable?)
'WM_VERSION': str(self.version), # consistency
'FOAMY_HEX_MESH': '', # This is horrible (unset variable?)
}
rewrite_environ_files( # Adjust etc/bashrc and etc/cshrc
edits,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment