[CMake] wrong line endings in cmake-2.8.7-rc1-1-src.tar.bz2 ?

Dan Kegel dank at kegel.com
Wed Dec 21 18:21:43 EST 2011


http://www.cmake.org/files/v2.8/cmake-2.8.7-rc1-1-src.tar.bz2
seems to have DOS line endings, which leads the the following error
when running configure on linux:

/home/dank/Downloads/cmake-2.8.7/Bootstrap.cmk/cmConfigure.h:29:
error: missing terminating " character

The command
find . -type f -print0 | xargs -0 perl -p -i -e 'tr/\015//d'
forcibly removes CR's from the whole tree and lets configure succeed,
but presumably that shouldn't be needed.

Hasn't anyone else run into this?


More information about the CMake mailing list