Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd $DIR_NAME problem
- X-seq: zsh-workers 57
- From: walkerjj@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Joe Walker)
- To: P.Stephenson@xxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: cd $DIR_NAME problem
- Date: Wed, 31 May 1995 11:19:40 +0100
- In-reply-to: P.Stephenson@xxxxxxxxxxxxx "Re: cd $DIR_NAME problem" (May 19, 15:55)
- Phone: (+44) 793 545346
- References: <13662.9505191455@xxxxxxxxxxxxxxx>
- Reply-to: walkerjj@xxxxxxxxxxxxxxxx
,- About Re: cd $DIR_NAME problem, P.Stephenson@xxxxxxxxxxxxx wrote:
|
| walkerjj@xxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
| >
| > I found a very wierd problem by trying to run a GNU configure script.
| > A boiled down version is below:
| > % test_script
| >
| > DIR=test_dir
| > + echo DIR is (test_dir)
| > DIR is (test_dir)
| > + cd test_dir
| > test_script: test_dir: bad directory
|
| My guess is that CDPATH doesn't contain `.'. Shells differ over
| whether they implicitly look in . anyway or don't in this case. This
| hit me some time ago.
Thanks. the explanation is correct.
I'm not sure that this isn't a bug though- the situation seams to be:
If the 'cd' command uses a variable then require . to be in CDPATH
otherwise don't.
So Zsh seams to be in disagreement with itself.
Is this correct?
Joe.
--
____
|___ | ___ ___ EMail: walkerjj@xxxxxxxxxxxxxxxxxxxxxx
_ | |/ _ \| __| SMail: Motorola, 16 Euroway, Blagrove, SWINDON SN58YQ
| |_| | (_) | _| Tel: [+44/0] 793 54 5346
\___/ \___/|___| Fax: [+44/0] 793 54 1228
Messages sorted by:
Reverse Date,
Date,
Thread,
Author