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

Fix update version awk shebang #82

Conversation

romain-grecourt
Copy link
Contributor

Use

#!/usr/bin/env -S awk -f

Instead of:

#!/usr/bin/env awk -f

Otherwise the following error occurs on Linux:

/usr/bin/env: use -[v]S to pass options in shebang lines

This is a difference between BSD and Linux, using -S works on both.

| The -S/--split-string option enables use of multiple arguments on the first line of scripts (the shebang line, ‘#!’).

See https://www.gnu.org/software/coreutils/manual/html_node/env-invocation.html

@romain-grecourt romain-grecourt self-assigned this Aug 27, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 27, 2024
@romain-grecourt romain-grecourt changed the base branch from helidon-4.x to dev-4.x August 27, 2024 17:41
@romain-grecourt romain-grecourt changed the base branch from dev-4.x to helidon-4.x August 27, 2024 17:45
@romain-grecourt romain-grecourt changed the base branch from helidon-4.x to dev-4.x August 27, 2024 17:45
@romain-grecourt romain-grecourt force-pushed the fix-update-version-awk-shebang branch from 9e924bc to 26855da Compare August 27, 2024 19:24
@romain-grecourt romain-grecourt merged commit cfebdb8 into helidon-io:dev-4.x Aug 27, 2024
7 checks passed
@romain-grecourt romain-grecourt deleted the fix-update-version-awk-shebang branch August 27, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants