-
Notifications
You must be signed in to change notification settings - Fork 664
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
Ensure consistent use of best-practice set -o
in all scripts
#1864
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these changes look good, but would it make sense for us to just source
a common header script that ran all these common flags instead?
Good call, I'll update accordingly. |
I switched to |
|
546cb2e
to
70a08fc
Compare
Why this should be merged
Ensures all scripts set the following best-practice bash options:
For simplicity the
set -euo pipefail
one-liner is used to ensure that any future changes to the standard settings can target a single line.