rtomayko / git-sh

A customized bash environment suitable for git work.
GNU General Public License v2.0
737 stars 83 forks source link

Compiling on Cygwin #18

Closed Wirone closed 12 years ago

Wirone commented 12 years ago

I wanted to compile and install Git-sh, but I have errors like this:

$ make
rm -f git-sh
cat git-sh.bash git-completion.bash  git-sh-aliases.bash git-sh-config.bash > git-sh+
bash -n git-sh+
git-sh+: line 54: syntax error near `$'{\r''
'it-sh+: line 54: `gitcomplete() {
Makefile:18: recipe for target `git-sh' failed
make: *** [git-sh] Error 2

cygcheck (cygwin) 1.7.10 GNU Make 3.82.90

I couldn't find any information about installing on Cygwin, is it possible?

Wirone commented 12 years ago

FYI - this error outcome from CRLF line endings on Windows. When I changed them to unix style, compiling went good and everything installed correctly.

Maybe repo should have autocrlf in config?