When a script's shebang line has a windows path, rather than a cygwin
path, it does not work:
rkitover@eeebox ~
$ head -1 /cygdrive/c/Perl64/site/bin/ack
#!C:\Perl64\bin\perl
rkitover@eeebox ~
$ /cygdrive/c/Perl64/site/bin/ack --version
Can't open perl script "/cygdrive/c/Perl64/site/bin/ack": No such file
or directory
On msys (msysGit) this works correctly:
rkitover@EEEBOX ~
$ /c/Perl64/site/bin/ack --version
ack 1.94
Running under Perl 5.12.2 at C:\Perl64\bin\perl.exe
Copyright 2005-2010 Andy Lester.
This program is free software. You may modify or distribute it
under the terms of the Artistic License v2.0.
Any chance this could be fixed? This would be a very nice feature for
users of Strawberry Perl and similar.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple