From owner-freebsd-current@FreeBSD.ORG Tue May 6 12:59:53 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52E1137B401 for ; Tue, 6 May 2003 12:59:53 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6644343FAF for ; Tue, 6 May 2003 12:59:52 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h46JxnLr058318; Tue, 6 May 2003 21:59:50 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Lars Eggert From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 06 May 2003 12:44:29 PDT." <3EB8109D.2060307@isi.edu> Date: Tue, 06 May 2003 21:59:49 +0200 Message-ID: <58317.1052251189@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: hardcoded -C argument to ${INSTALL} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 19:59:53 -0000 In message <3EB8109D.2060307@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@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.