mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
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 <cwhite@wikimedia.org>
This commit is contained in:
parent
feaa747a6b
commit
2fbf33555e
@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env bash -e
|
||||
#!/usr/bin/env bash
|
||||
set -e -o pipefail
|
||||
<% commands.each {command -> %><%= command %><% } %>
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env bash -e
|
||||
#!/usr/bin/env bash
|
||||
set -e -o pipefail
|
||||
<% commands.each {command -> %><%= command %><% } %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user