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

Syntax error missing ']' in bootstrap-al2023.sh #1756

Closed
spenny-jay opened this issue Jun 5, 2024 · 1 comment
Closed

Syntax error missing ']' in bootstrap-al2023.sh #1756

spenny-jay opened this issue Jun 5, 2024 · 1 comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@spenny-jay
Copy link
Contributor

spenny-jay commented Jun 5, 2024

Describe the bug

The condition if [ -z "${SSL_CERT_FILE}"]; on line 10 of the bootstrap-al2023.sh script is missing a space before the closing bracket, showing a syntax error whenever we build our .NET 8 lambdas. The script runs as expected, despite the error.

Expected Behavior

No syntax error to appear

Current Behavior

This error appears, however the script proceeds as expected: /var/runtime/bootstrap: line 10: [: missing `]'

Reproduction Steps

Run the bootstrap-al2023.sh script/Start a Lambda with the .NET 8 runtime

Possible Solution

Update the condition to: if [ -z "${SSL_CERT_FILE}" ];

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

.NET 8

Targeted .NET Platform

.NET 8

Operating System and version

Windows 10

@spenny-jay spenny-jay added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 5, 2024
@spenny-jay spenny-jay changed the title Syntax error missing '[' in bootstrap-al2023.sh Syntax error missing ']' in bootstrap-al2023.sh Jun 5, 2024
Copy link
Contributor

github-actions bot commented Jun 5, 2024

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant