delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 10 Apr 2008 11:38:19 +0200 |
From: | spambouncer AT gmx DOT de |
Message-ID: | <20080410093819.86280@gmx.net> |
MIME-Version: | 1.0 |
Subject: | Perl script vs. "Program Files" |
To: | cygwin AT cygwin DOT com |
X-Authenticated: | #24403641 |
X-Flags: | 0001 |
X-Mailer: | WWW-Mail 6100 (Global Message Exchange) |
X-GMX-UID: | PdXPf4MSPjl+KoxqQjQ2rSQ7MTE2NQn4 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |