Explicitly cast Version to str in openfoam-org (#6880)
This commit is contained in:
parent
4d4fc8760d
commit
8555947e05
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user