Subject: Re: acorn32 make sets prob
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-arm
Date: 03/22/2002 11:29:06
On Fri, Mar 22, 2002 at 04:16:23PM +0000, Patrick Welche wrote:
> Does that error message really mean that "cd" can't be found, as in, the
> sh shell built-in? (And yes, there are tabs there...)

Yes.  Make is trying to exec(2) "cd ..." not "sh -c 'cd ...'".  It's not
going to be able to do that since it's a shell built-in.  "cd" doesn't
make sense in that context, anyway.  If you put a semi-colon on the
'cd' line, make will farm it out to the shell.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...