Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 17:50:37 +0200 (MET DST)
From:      Michael Reifenberger <root@totum.plaut.de>
To:        Scott Blachowicz <scott@statsci.com>
Cc:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, FreeBSD-Current <current@freebsd.org>
Subject:   Re: Building inside of /usr/src? 
Message-ID:  <Pine.BSI.3.94.960627174812.7404D-100000@totum.plaut.de>
In-Reply-To: <m0uZJEK-00060BC@main.statsci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Jun 1996, Scott Blachowicz wrote:

> Date: Thu, 27 Jun 1996 08:43:39 -0700
> From: Scott Blachowicz <scott@statsci.com>
> To: "Jordan K. Hubbard" <jkh@time.cdrom.com>
> Cc: Michael Reifenberger <root@totum.plaut.de>,
>     FreeBSD-Current <current@FreeBSD.org>
> Subject: Re: Building inside of /usr/src? 
> 
> "Jordan K. Hubbard" <jkh@time.cdrom.com> wrote:
> 
> > > (totum)(root) # make obj
> > > /usr/obj/usr/src/lib/libc created for /usr/src/lib/libc
> > > (totum)(root) # pwd
> > > /usr/src/lib/libc
> > > (totum)(root) # cd /a/src/lib/libc
> > > (totum)(root) # pwd
> > > /a/src/lib/libc
> > > (totum)(root) # make cleandir
> > > (totum)(root) # make obj
> > > /usr/obj/a/src/lib/libc created for /a/src/lib/libc
> > > 
> > > ??????
> > 
> > Yeah, good question.. :-)
> > 
> > I wonder if getcwd() is somehow becoming confused on your system.
> > It should return the canonical path and it's clearly not! :(
> 
> 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

Sorry :-(

Bye!
----
Michael Reifenberger




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960627174812.7404D-100000>