Perl script vs. "Program Files"

spambouncer@gmx.de spambouncer@gmx.de
Thu Apr 10 10:03:00 GMT 2008


Hi everyone!

I'm using cvsnt via cygwin command line. When I'm trying to reformat log output with cvs2cl.pl (http://www.red-bean.com/cvs2cl), I get the following error message:

Can't open perl script "/cygdrive/c/Program": No such file or directory

Apparently the script is looked for in "/cygdrive/c/Program Files/cvsnt/", which is fine for me, because that's where it resides. However, when I delete the script, I get the following output:

bash: /cygdrive/c/Program Files/cvsnt/cvs2cl.pl: No such file or directory

Suddenly the path is resolved alright! I guess the first message is generated by Perl and the second one by bash. When I put the script in a no-space-path and type the whole thing, like

/cygdrive/c/cvs2cl.pl

it works fine. Using a path-with-spaces probably requires some weird combination of single/double quotes. Since I'm bashwise quite illiterate and have never used Perl before, any help is greatly appreciated.

Note that putting the script in another location (like /cygdrive/c or cygwin/usr/bin or such) does not help. It is always looked for in /cygdrive/c/Program Files/cvsnt and nowhere else. Why?

Thanks,
Andreas



-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list