Windows line endings in .cabal file goes wrong

Neil Mitchell ndmitchell at gmail.com
Tue Jul 10 06:03:27 EDT 2007


Hi

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.

Thanks

Neil


More information about the cabal-devel mailing list