This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Perl script vs. "Program Files"
- From: spambouncer at gmx dot de
- To: cygwin at cygwin dot com
- Date: Thu, 10 Apr 2008 11:38:19 +0200
- Subject: Perl script vs. "Program Files"
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/