From 0a75c3a91d6ee6fc09d553ab4cfe4aa0982dc686 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Sun, 24 Apr 2016 04:58:00 -0400 Subject: [PATCH] All .sh files should have LF instead of CRLF (#100) Found this the hard way when `forge.sh` refused to run on my linux box because it couldn't find `/usr/bin/env bash\r` --- .gitattributes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5bc2243..dd829bb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,5 +24,5 @@ *.rtf diff=astextplain *.RTF diff=astextplain -# Ensure that build.sh keeps LF instead of CRLF -build.sh eol=lf +# Ensure that .sh files keep LF instead of CRLF so that shebang lines work +*.sh eol=lf