From c6abacc967c03595d17def3e5a57e5d585730eec Mon Sep 17 00:00:00 2001
From: chrfranke <chrfranke@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Sat, 21 Oct 2006 19:24:14 +0000
Subject: [PATCH] Added note about CR/LF handling of Cygwin's new bash.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2297 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/INSTALL | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/sm5/INSTALL b/sm5/INSTALL
index 782b0e288..d88fa90f7 100644
--- a/sm5/INSTALL
+++ b/sm5/INSTALL
@@ -1,7 +1,7 @@
 Smartmontools installation instructions
 =======================================
 
-$Id: INSTALL,v 1.69 2006/10/20 21:56:03 chrfranke Exp $
+$Id: INSTALL,v 1.70 2006/10/21 19:24:14 chrfranke Exp $
 
 Please also see the smartmontools home page:
 http://smartmontools.sourceforge.net/
@@ -102,8 +102,8 @@ Table of contents:
 
     E) Cygwin
 
-    The code was tested on Cygwin 1.5.7, 1.5.11 and 1.5.18. It should also
-    work on other recent releases.
+    The code was tested on Cygwin 1.5.7, 1.5.11 and 1.5.18-21. It should
+    also work on other recent releases.
 
     Release 1.5.15 or later is recommended for Cygwin smartd. Older versions
     do not provide syslogd support.
@@ -427,6 +427,15 @@ Same as Red Hat:
   file type ("binmode" mount option) set. The "autogen.sh" script prints a
   warning if DOS type is selected.
 
+  If installing from CVS, you may check out all files either with CR/LF
+  or LF line endings. Starting with release 3.1-7, Cygwin's bash does no
+  longer accept scripts with CR/LF by default. To run the initial script
+  ./autogen.sh checked out with CR/LF on a "binmode" mount, type:
+
+  bash -O igncr ./autogen.sh
+
+  instead. This is not necessary for the generated ./configure script.
+
 [10] Guidelines for Windows
 ==========================
 
-- 
GitLab