Subject: Re: build breaks w/ read-only sources
To: David Laight <david@l8s.co.uk>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: current-users
Date: 10/30/2003 02:46:03
   On Oct 30,  8:42, David Laight wrote:
   > Subject: Re: build breaks w/ read-only sources
   > >   | The key is pwd.  A "pwd" of our recent /bin/sh is internal
   > >   | command and the value is cached.
   > > Have you just tried "TOP=$(pwd -P)" as a replacement for those 5
   > > lines?

No.  I changed "TOP=$(pwd)" to "TOP=$(/bin/pwd)" as I showed
in my patch.

   > Won't help (untill we fix/change /bin/sh).
   > The builtin 'pwd' ignores all its arguments.

That's true.  Therefore, I used /bin/pwd.

Anyway, I ran "./build.sh -U -O /usr/obj release" with
modified build.sh.  It finished fine.  All binaries are
stored in /usr/obj/{bin,lib,usr.bin,...} although I'm using
a symbolic link to refer source trees (like automount does).

-- Kazushi