diff --git a/.gitattributes b/.gitattributes index 140ae8929..723f48277 100644 --- a/.gitattributes +++ b/.gitattributes @@ -19,6 +19,9 @@ Makefile text +# Shell scripts must stay LF even when core.autocrlf=true (CRLF breaks bash) +*.sh text eol=lf + # Windows-only Visual Studio things *.sln text eol=crlf