Date: Wed, 25 Feb 1998 09:35:07 -0500 From: Ken Monville <Ken.Monville@FergInc.com> To: freebsd-questions@FreeBSD.ORG Subject: odd sh or make behavior Message-ID: <19980225093507.10328@toth.FergInc.com>
next in thread | raw e-mail | index | archive | help
I recently installed 2.2.5 on a few systems here at work. I'm experiencing
some odd behavior when trying to compile programs that cd to another directory
and running a command there... I made a simple example:
Makefile:
all:
(cd new_dir ; make all)
{kjm@toolbox.p2} 9:25AM:~/foo % ls
Makefile new_dir/
{kjm@toolbox.p2} 9:25AM:~/foo % make all
(cd new_dir ; make all)
cd: can't cd to new_dir
*** Error code 2
Stop.
{kjm@toolbox.p2} 9:25AM:~/foo %
Now, if I run this same command from another box in the exact same directory
(NFS mounted) it works fine:
{kjm@ns.p1} 9:26AM:~/foo % make all
(cd new_dir ; make all)
cc -O2 -o hello hello.c
{kjm@ns.p1} 9:26AM:~/foo %
Permissions were checked and everything is fine. Any help would be appreciated.
I'm not on this list so please reply directly to me, thanks.
Ken
--
Ken Monville
Internet Coordinator, Ferguson Enterprises, Inc.
Ken.Monville@FergInc.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980225093507.10328>
