Skip to content
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

[Backport 2.x] Move bash flag to set statement #3519

Merged
merged 1 commit into from
Jun 6, 2022
Merged

[Backport 2.x] Move bash flag to set statement #3519

merged 1 commit into from
Jun 6, 2022

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 <cwhite@wikimedia.org>
@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