From owner-cvs-all@FreeBSD.ORG Thu Mar 17 17:20:28 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E38D16A4CE; Thu, 17 Mar 2005 17:20:28 +0000 (GMT) Received: from acampi.inet.it (acampi.inet.it [213.92.1.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FECC43D41; Thu, 17 Mar 2005 17:20:27 +0000 (GMT) (envelope-from andrea@acampi.inet.it) Received: by acampi.inet.it (Postfix, from userid 1000) id 60C44586; Thu, 17 Mar 2005 18:20:25 +0100 (CET) Date: Thu, 17 Mar 2005 18:20:25 +0100 From: Andrea Campi To: Poul-Henning Kamp Message-ID: <20050317172025.GO1166@webcom.it> References: <200503122041.j2CKfQP5073813@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503122041.j2CKfQP5073813@repoman.freebsd.org> User-Agent: Mutt/1.5.8i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/nanobsd Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 17:20:28 -0000 On Sat, Mar 12, 2005 at 08:41:26PM +0000, Poul-Henning Kamp wrote: > phk 2005-03-12 20:41:26 UTC > > FreeBSD src repository > > Modified files: > tools/tools/nanobsd Makefile > Log: > DTRT with /var so that any packages installed are correctly recorded. Now that this has been committed, I only have one local diff, it would be amazing if you could consider doing something along these lines. Oh, and thanks! ;-) --- /usr/src/tools/tools/nanobsd/Makefile Wed Mar 16 16:42:59 2005 +++ Makefile Thu Mar 17 18:15:09 2005 @@ -71,16 +71,17 @@ # Customize: _.cs _.cs: _.iw _.di _.ik _.di + touch _.cs.tmp .for cust in ${CUSTOMIZE} .if exists(${.CURDIR}/Customize/${${cust}}) - sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .elif exists(${.CURDIR}/${${cust}}) - sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .else - sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .endif .endfor - touch _.cs + mv _.cs.tmp _.cs ########################################################################### # -- "One world, one web, one program" -- Microsoft promotional ad "Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler