This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash output: ./configure: line 16: $'\r': command not found


On Wed, Sep 19, 2012 at 02:06:53PM -0700, Richard Haney wrote:
>Two problems (at least).

Actually no problems.

You can't reliably use shell scripts with \r\n line endings.  So, you
either have to fix the shell scripts with something like dos2unix
(as recommended) or use the Cygwin-specific:

>set -o igncr

which was developed specifically for this problem.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]