Fix Windows build due to line ending changes in sed
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 23 Feb 2017 13:21:55 +0000 (14:21 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 23 Feb 2017 13:21:55 +0000 (14:21 +0100)
The recent sed update in cygwin [1] changed the way sed handles
carriage returns. This meant that every .in file we processed
still contained CR, which doesn't work for .sh files.

Force LF line endings for those files (and also other shell scripts).

[1] https://cygwin.com/ml/cygwin-announce/2017-02/msg00036.html

docs/.gitattributes [new file with mode: 0644]
mcs/.gitattributes
runtime/.gitattributes [new file with mode: 0644]
scripts/.gitattributes

diff --git a/docs/.gitattributes b/docs/.gitattributes
new file mode 100644 (file)
index 0000000..1847f86
--- /dev/null
@@ -0,0 +1,3 @@
+check-coverage crlf=input
+check-exports  crlf=input
+produce-lists  crlf=input
index 1f9c224a2bb3dd4233a2607c98ef814c4e40d5bd..b81912bae54689d5c5ff6d0c2f685748b3bd1b1a 100644 (file)
@@ -1,2 +1,3 @@
 /LICENSE.MSPL -crlf
 /ScalableMonoIcon.svg -crlf
+/winexe.in     crlf=input
diff --git a/runtime/.gitattributes b/runtime/.gitattributes
new file mode 100644 (file)
index 0000000..943f7e1
--- /dev/null
@@ -0,0 +1,3 @@
+monodis-wrapper.in     crlf=input
+mono-wrapper.in        crlf=input
+
index 30238150d93ca546c3ba77e37149970d7a664127..2166c5ce95c3144272d577900ed2275ba440971f 100644 (file)
@@ -6,3 +6,17 @@ monodocs2slashdoc      crlf=input
 mono-heapviz   crlf=input
 mono-package-runtime   crlf=input
 mono-test-install      crlf=input
+csc.in crlf=input
+dmcs.in        crlf=input
+gmcs.in        crlf=input
+mcs.in crlf=input
+mod.in crlf=input
+mono-configuration-crypto.in   crlf=input
+mono-find-provides.in  crlf=input
+mono-find-requires.in  crlf=input
+mono-service.in        crlf=input
+mono-symbolicate.in    crlf=input
+peverify.in    crlf=input
+script.in      crlf=input
+script_umask.in        crlf=input
+xbuild.in      crlf=input