hardcoded -C argument to ${INSTALL}

Poul-Henning Kamp phk at phk.freebsd.dk
Tue May 6 12:59:53 PDT 2003


In message <3EB8109D.2060307 at isi.edu>, Lars Eggert writes:
>This is a cryptographically signed message in MIME format.
>
>--------------ms050606080100070606050100
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>
>Hi,
>
>I'm putting a script together that will remove stale pieces after an 
>installworld, and my find+mtime approach chokes, because some uses of 
>${INSTALL} in the Makefiles hardcode the -C argument, which will cause 
>file modification times to not be updated if the files are identical.

I would argue this is actually the correct behaviour.o

My suggestion for such a tool would be to run make installworld with
a DESTDIR set, and compare the two trees ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list