Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safe default value for unbound variables in dolfinx.conf #3470

Conversation

mleoni-pf
Copy link
Contributor

I'm sourcing the dolfinx.conf file in a bash script that uses set -u so it crashes because some of the variables referenced in the dolfinx.conf file are not defined. This would normally silently "fail" in bash and evaluate to empty but the proposed changes make it explicit.

@jhale jhale added this pull request to the merge queue Oct 15, 2024
Merged via the queue into FEniCS:main with commit 7fd0649 Oct 15, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants