From owner-freebsd-current Thu Jun 27 09:11:38 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA08072 for current-outgoing; Thu, 27 Jun 1996 09:11:38 -0700 (PDT) Received: from main.statsci.com ([198.145.127.110]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA08067 for ; Thu, 27 Jun 1996 09:11:36 -0700 (PDT) Received: from statsci.com by main.statsci.com with smtp (Smail3.1.29.1 #3) id m0uZJf7-000608C; Thu, 27 Jun 96 09:11 PDT Message-Id: X-Mailer: exmh version 1.6.7 5/3/96 To: Michael Reifenberger cc: "Jordan K. Hubbard" , FreeBSD-Current Subject: Re: Building inside of /usr/src? References: In-reply-to: Your message of "Thu, 27 Jun 1996 17:50:37 +0200." Reply-to: scott@statsci.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Jun 1996 09:11:20 -0700 From: Scott Blachowicz Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Michael Reifenberger wrote: > > Could it somehow be a shell "builtin" pwd that is looking at a $PWD that > > gets set/cleared oddly? Does everyone have the same shell getting run for > > the makefile commands? I don't know...just grasping for some straws...:-) > > > > It's worse than that: > > (totum)(root) # which pwd > pwd: aliased to echo $cwd > > It is defined in my ~/.tcshrc Does removing it from there actually fix the problem? Well...the reason I was saying "grasping for some straws" was that I assumed that the make file would be using /bin/sh to run its commands and use a pwd command that _shouldn't_ be influenced by the environment at all. I think I've heard people (one of those vague recollections from the recesses of my mind) talk about "smart" pwd commands that look at the inherited $PWD and, if it is still in that directory, will use $PWD. If the current directory isn't the same as $PWD, it would do a real getcwd() since the $PWD has obviously been inherited thru programs that don't maintain it (e.g. /bin/sh, typically). Could that kind of stuff being going on here? Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org