Subject: Re: [boost] [git] Line endings in bootstrap.bat on Windows
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-11-25 13:24:27
On Mon, Nov 25, 2013 at 12:40 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> On 11/25/2013 09:28 AM, Beman Dawes wrote:
> > I also had autocrlf = true on my Windows machine, so set it to false and
> > tried a fresh clone.
> > .\bootstrap failed! Couldn't find compiler configuration files. Oddly,
> > bootstrap.bat still had cr/lf line endings, and was identical to the
> > version cloned with autocrlf = true, even though many other files
> > in line endings.
> What about tools/build/v2/engine/build.bat
> (Which does most of the real work)?
Ha! tools/build/v2/engine/build.bat just has newlines. Yet it has cr/lf
line endings in svn.
So that's why on Windows autocrlf = true is required. It also shows that
conversion's treatment of line endings is inconsistent - apparently
bootstrap.bat does not have CR stripped but tools/build does have them
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk