Skip to content

Conversation

@shdubsh
Copy link
Contributor

@shdubsh shdubsh commented Jun 6, 2022

Backport 2fbf335 from #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]>
@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure e755106
Log 5804

Reports 5804

@owaiskazi19
Copy link
Member

#1703 for the above

@owaiskazi19
Copy link
Member

start gradle check

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success e755106
Log 5808

Reports 5808

@owaiskazi19 owaiskazi19 merged commit 7f57e32 into opensearch-project:2.x Jun 6, 2022
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.

4 participants