Subject: Re: Cannot 'cd' using Bourne shell script?
To: None <port-i386@NetBSD.ORG>
From: Sean Conley <Sean.Conley@oasis.novia.net>
List: port-i386
Date: 04/19/1996 20:53:54
>
> In a Bourne shell script which issues a cd command to a RELATIVE
> directory, the command results in an error message 'Cannot cd to ....'
> When I use a complete path name, no problem. When I use the C shell,
> no problem. Only with Bourne shell and relative path name.
>
I guess I should have stated that I have ruled out the possibility of
a permissions' problem. I thought that might be implied since I did
say that the C shell script had no trouble with the cd command.
> This error first surfaced in a slightly different form. In a makefile
> which spawns a sub-shell to cd to a relative path and do something,
> I get the same result
>
> Any assistance on this one would be greatly apreciated, since the
> makefile is one used to rebuild the kernel.... something I really
> need to do in order to get my system set up the way I like.
=========================
Sean Conley
sean@novia.net
http://www.novia.net/~sean