This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport autogen.sh gives DOS line ending errors
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 02 Jan 2015 08:43:02 -0500
- Subject: Re: cygport autogen.sh gives DOS line ending errors
- Authentication-results: sourceware.org; auth=none
- References: <7eh5aadtpbq5sknd6qd3n2ja52ed6arv6f at 4ax dot com> <7eh5aadtpbq5sknd6qd3n2ja52ed6arv6f-e09XROE/p8c at public dot gmane dot org> <54A2DF1E dot 30906 at cygwin dot com> <mtk6aa1kse5bq944tkmevtfocqlq1rp4t1 at 4ax dot com> <mtk6aa1kse5bq944tkmevtfocqlq1rp4t1-e09XROE/p8c at public dot gmane dot org> <54A66E78 dot 6030304 at cygwin dot com>
> > After you clone cygport in Cygwin, do you get the same result as below?
> >
> > $ file autogen.sh
> > autogen.sh: Bourne-Again shell script, ASCII text executable, with CRLF
> > line terminators
>
> No CRLF. Either you're using a Windows git, or maybe you're trying to
> clone into a text mount.
Thank you for your help. I found the problem. In my ~/.gitconfig, SOMEONE set
[core]
autocrlf = true
I say SOMEONE because I would NEVER do that. In the last few weeks I've been
trying out some Windows git clients. I'm not even sure which ones, but I
installed and uninstalled several. One of them apparently took the liberty of
making this change for me. Grrr.
I nuked the offending line and the problem is fixed. Sorry to have bothered
you.
Andrew