From be01abff5f7f0ea647ad9df9235cd22cee5dfc90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Merc=C3=AAs?= Date: Wed, 7 Dec 2022 09:28:52 -0300 Subject: [PATCH] Use LF even on Windows --- .gitattributes | 1 + Makefile | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d01653a --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +text eol=lf diff --git a/Makefile b/Makefile index db367f8..9c36dc2 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ all: cat $$file >> $(OUTFILE); \ echo >> $(OUTFILE); \ done + tr -d \\r < $(OUTFILE) > $(OUTFILE).tmp + mv $(OUTFILE).tmp $(OUTFILE) install: [ -e $(OUTFILE) ] && \