Subject: Re: UNPRIVED & DESTDIR
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 04/24/2002 13:46:55
On Tue, Apr 23, 2002 at 03:02:47PM +0100, Richard Earnshaw wrote:
> 
> Is there any way to force a privileged re-install into / after an unprived 
> build?  UNPRIVED is only tested for being defined, not for its value, so 
> it isn't possible to override the setting through the nbmake-wrapper prog.

I wrote a shell script to parse the METALOG file and copy all the
files from it into / (fixing the permissions on the way).

(Last time I did this I found that all the .a files end up with
incorrect permissions)

All you then need to do is rename the METALOG file before the
next build (or merge it onto the previous one).


	David

-- 
David Laight: david@l8s.co.uk