Skip to content

Make sure all build_foo.bash scripts exit upon any error. #2520

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

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Mar 18, 2020

set -ex exists the whole script if any individual command fails. I
think this will help ensure that people know when these dependency
building scripts have errors, instead of (hypothesized) seeming to
execute fully but actually the installation of that dependency was not
complete.

`set -ex` exists the whole script if any individual command fails.  I
think this will help ensure that people know when these dependency
building scripts have errors, instead of (hypothesized) seeming to
execute fully but actually the installation of that dependency was not
complete.
@lgritz lgritz merged commit ebac261 into AcademySoftwareFoundation:master Mar 20, 2020
@lgritz lgritz deleted the lg-setex branch March 20, 2020 19:09
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Mar 24, 2020
…twareFoundation#2520)

`set -ex` exists the whole script if any individual command fails.  I
think this will help ensure that people know when these dependency
building scripts have errors, instead of (hypothesized) seeming to
execute fully but actually the installation of that dependency was not
complete.
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.

1 participant