Windows line endings in .cabal file goes wrong

Simon Marlow simonmarhaskell at gmail.com
Wed Jul 11 04:39:48 EDT 2007


Neil Mitchell wrote:

> When installing a .cabal package which has Windows line endings, the
> executable name is read as file^M. There are a few possible solutions:
> 
> 1) Ban \r from .cabal files - cabal-upload should check this if this
> choice is made.
> 
> 2) Cope with \r, a simple filter (/= '\r') should be sufficient.

I have deja vu - I'm sure we already fixed this.  What version of Cabal etc.?

Cheers,
	Simon


More information about the cabal-devel mailing list