Note that pipefail
isn't normally set (#1108)
This commit is contained in:
parent
90e0fccb5d
commit
b4a0a8090d
@ -1404,7 +1404,7 @@ It isn't strictly necessary, but `set -euxo pipefail` turns on a few useful feat
|
|||||||
|
|
||||||
- `set -x` makes `bash` print each script line before it's run.
|
- `set -x` makes `bash` print each script line before it's run.
|
||||||
|
|
||||||
- `set -o pipefail` makes `bash` exit if a command in a pipeline fails.
|
- `set -o pipefail` makes `bash` exit if a command in a pipeline fails. This is `bash`-specific, so isn't turned on in normal linewise `just` recipes.
|
||||||
|
|
||||||
Together, these avoid a lot of shell scripting gotchas.
|
Together, these avoid a lot of shell scripting gotchas.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user