This is the mail archive of the
mailing list for the Cygwin project.
RE: can not find valid cygwin path
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 1 Nov 2005 17:57:39 -0000
- Subject: RE: can not find valid cygwin path
lin q wrote:
>> From: "Dave Korn" <dave.korn@artimiAAAARRRRGGGHHHHHH!>
Oh no. More spam. :-(
Please read http://cygwin.com/acronyms#PCYMTNQREAIYR!
> I do not quite get what you are saying and your example, I am using BASH
> which the default cygwin shell.
Hmm, maybe I don't quite get what you are saying then!
> In your example you can see that "/cygdrive/c/prog/bin/nt" is the first
> element in $PATH, that is what we want; "$PROG_ENV/bin/nt/prog.exe" is
> expanded to "/cygdrive/c/prog/bin/nt/prog.exe" correctly.
Yes, that is what I think is supposed to happen.
> These are all as expected, the problem is why the correct path can not be
> Do I miss anything?
Yes: Why is _your_ example different from mine? Look:
>>> export PROG_ENV=/cygdrive/c/prog
>>> export PATH=$PROG_ENV/bin/nt:$PATH
>>> echo $PATH
Here, PROG_ENV is *not* expanded. So something has gone wrong, hasn't it?
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html