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: 'cp' utility bug when <dest-name>.exe file exist.


On Fri, Jun 11, 2010 at 10:26, Eric Backus wrote:
> As a side note, this same kind of reasoning is why I think Cygwin bash should
> default the igncr option to on.

I agree - using git with core.autocrlf=true (a controversial setting
in itself, but one that you're stuck with if you choose to use it)
without SHELLOPTS=igncr results in bash scripts being checked out in
DOS-style, which bash can't run properly. But it's not too hard to set
this in Cygwin.bat before bash starts, once you know what the problem
is.

set SHELLOPTS=igncr

-- David.

--
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]