[MINOR] fix(deploy): Fix invocation of kubernetes bash scripts by EnricoMi · Pull Request #1513 · apache/uniffle · GitHub
Skip to content

[MINOR] fix(deploy): Fix invocation of kubernetes bash scripts#1513

Merged
zuston merged 1 commit into
apache:masterfrom
EnricoMi:fix-kubernetes-scripts
Feb 9, 2024
Merged

[MINOR] fix(deploy): Fix invocation of kubernetes bash scripts#1513
zuston merged 1 commit into
apache:masterfrom
EnricoMi:fix-kubernetes-scripts

Conversation

@EnricoMi

@EnricoMi EnricoMi commented Feb 8, 2024

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Do not invoke bash scripts via sh ./SCRIPT.sh, but ./SCRIPT.sh.

Why are the changes needed?

These bash scripts are invoked via sh ./SCRIPT.sh, which overrides the shebang line in the script, effectively executing the scripts via /bin/sh. The scripts require bash though, so the invocation fails.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually tested.

@github-actions

github-actions Bot commented Feb 8, 2024

Copy link
Copy Markdown

@zuston zuston left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @EnricoMi

@zuston zuston changed the title [MINOR] Fix invocation of kubernetes bash scripts [MINOR] fix(deploy): Fix invocation of kubernetes bash scripts Feb 9, 2024
@zuston zuston merged commit 866f5ff into apache:master Feb 9, 2024
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.

2 participants