Commit 2fbf335
authored
move bash flag to set statement (#3494)
Passing bash with flags to the first argument of /usr/bin/env requires
its own flag to interpret it correctly. Rather than use `env -S` to
split the argument, have the script `set -e` to enable the same behavior
explicitly in preinst and postinst scripts.
Also set `-o pipefail` for consistency.
Closes: #3492
Signed-off-by: Cole White <[email protected]>1 parent feaa747 commit 2fbf335
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
0 commit comments