diff --git a/.gitattributes b/.gitattributes index 1ff0c42304..327262da6b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,12 @@ ############################################################################### * text=auto +############################################################################### +# Make sh files under the build directory always have LF as line endings +############################################################################### +build/*.sh eol=lf + + ############################################################################### # Set default behavior for command prompt diff. #