Skip to content
Snippets Groups Projects
Commit 3485c750 authored by Karl Fogel's avatar Karl Fogel
Browse files

* cvs2cl/cvs2cl.pl: Put the $0 in quotes ("$0"). See email below for why.

Suggested by: Andreas <spambouncer@gmx.de>

   From: spambouncer{_AT_}gmx.de
   To: bug-cvs2cl{_AT_}red-bean.com
   Subject: cvs2cl on cygwin
   Date: Fri, 11 Apr 2008 10:20:13 +0200
   Message-ID: <20080411082013.268540@gmx.net>

   Hello bean people!

   First of all, thanks for the script without which cvs log is basically
   useless. However, I wasn't able to run the script properly with
   cygwin/cvsnt. Cygwin looked for the script in "/cygdrive/c/Program
   Files/cvsnt/", and Perl couldn't handle the space in "Program Files"
   (classic issue it seems), resulting in the following error message:

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

   I asked about this on the cygwin mailing list (see thread at
   http://www.mail-archive.com/cygwin@cygwin.com/index.html#87229) and
   was told to put the $0 on the second line (exec perl) in quotes, which
   works fine.

   I don't know if this would break script execution on other systems. If
   so, you could mention this issue on the web site. If not, please fix!
   :)

   Thanks, Andreas
parent aa557a5a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment