Skip to content

fix: enforce LF line endings for shell scripts - #102

Open
feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:fix/sh-lf-line-endings
Open

feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:fix/sh-lf-line-endings

Conversation

@feafel

@feafel feafel commented Nov 6, 2026

Copy link
Copy Markdown

Summary

Fixes #73: shell scripts checked out on Windows end up with CRLF line endings (Git's default core.autocrlf=true), causing ^M characters and "bad interpreter" errors when the node scripts are executed on Linux.

Changes

  • Add .gitattributes with *.sh text eol=lf so the scripts are always checked out with LF, regardless of the contributor's Git configuration

Closes #73

🤖 Generated with Claude Code

The repository has no .gitattributes, so cloning on Windows with the
default core.autocrlf=true checks the .sh scripts out with CRLF, which
breaks execution on Linux. Pin them to LF.

Closes inkonchain#73
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.

Shell scripts initially in CRLF instead of LF (causing execution issues on Linux)

1 participant