Game Development Community

Unix users: FYI on unixchange.sh

by John Quigley · in Torque Game Engine · 10/21/2001 (4:36 pm) · 0 replies

in the documentation file:

doc/install/x86unix.gcc2.html

it says that you should run the unixchange.sh file to convert the source file eol characters. However if you unpacked the SDK originally on windows, then unixchange.sh (and other shell script files) will have windows CRLFs, and will fail with cryptic error messages. :)

One fix is to run the "dos2unix" utility on the scripts, then do chmod +x on them (dos2unix by default resets the file permissions). After that they should run normally.