X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"
Date: Thu, 10 Apr 2008 11:38:19 +0200
From: spambouncer@gmx.de
Message-ID: <20080410093819.86280@gmx.net>
MIME-Version: 1.0
Subject: Perl script vs. "Program Files"
To: cygwin@cygwin.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

