From owner-freebsd-questions Wed Feb 25 06:36:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA22782 for freebsd-questions-outgoing; Wed, 25 Feb 1998 06:36:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from toth.ferginc.com (toth.ferginc.com [205.139.23.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA22706 for ; Wed, 25 Feb 1998 06:35:44 -0800 (PST) (envelope-from kjm@toth.ferginc.com) Received: (from kjm@localhost) by toth.ferginc.com (You_Can/Keep_Guessing) id JAA11749; Wed, 25 Feb 1998 09:35:07 -0500 (EST) Message-ID: <19980225093507.10328@toth.FergInc.com> Date: Wed, 25 Feb 1998 09:35:07 -0500 From: Ken Monville To: freebsd-questions@FreeBSD.ORG Subject: odd sh or make behavior Reply-To: Ken.Monville@FergInc.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Organization: Ferguson Enterprises, Inc. X-Operating-System: FreeBSD 2.2.2-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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