Skip to content

Fix syntax error in build-rootfs.sh#14754

Merged
sbomer merged 1 commit intodotnet:mainfrom
sbomer:fixSyntax
May 7, 2024
Merged

Fix syntax error in build-rootfs.sh#14754
sbomer merged 1 commit intodotnet:mainfrom
sbomer:fixSyntax

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented May 7, 2024

This is causing errors like

/scripts/eng/common/cross/build-rootfs.sh: line 575: syntax error near unexpected token `echo'

Introduced in #14744 @am11

@sbomer sbomer enabled auto-merge (squash) May 7, 2024 20:56
@am11
Copy link
Member

am11 commented May 7, 2024

Ah, it was a last minute PR update, didn't ran shellcheck again. :(

Maybe we should run shellcheck in CI for all .sh files under eng/common to avoid accidental changes.

@sbomer sbomer merged commit 09f0a36 into dotnet:main May 7, 2024
@jkoritzinsky
Copy link
Member

That sounds like a reasonable idea to me. We could do something similar to what we do for MarkdownLint.

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.

3 participants