I have installed cygwin in my windows XP machine and add path with ant home. I am able to login into the cygwin but when i issue ant command it is throwing below issue. But the same executing fine when i issue ant.bat.
/apache-ant-1.6.5/bin/ant: /bin/sh: bad interpreter: No such file or directory
Buildfile: build.xml does not exist!
Could some one please help me to resolve this issue.
One more think I am wondering why it is returning /cygdrive/c/cygwin/bin/bash when we issue which bash command. It should be usr/bin/bash.