Date: Mon, 30 Aug 2004 11:48:12 +0300 From: Giorgos Keramidas <keramida@linux.gr> To: Ruslan Ermilov <ru@freebsd.org> Cc: current@freebsd.org Subject: Re: [PATCH] Finding stale files in /usr/src during "make update" Message-ID: <20040830084811.GA96014@orion.daedalusnetworks.priv> In-Reply-To: <20040830072811.GA84862@ip.net.ua> References: <20040830072811.GA84862@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-08-30 10:28, Ruslan Ermilov <ru@freebsd.org> wrote: > What do you people think about the following patch? It can > be very useful to find stale files under /usr/src which may > sometimes be unsafe. It's nice, IMHO :) > %%% > Index: Makefile.inc1 > =================================================================== > RCS file: /home/ncvs/src/Makefile.inc1,v > retrieving revision 1.442 > diff -u -r1.442 Makefile.inc1 > --- Makefile.inc1 25 Aug 2004 22:06:29 -0000 1.442 > +++ Makefile.inc1 30 Aug 2004 07:17:37 -0000 > @@ -83,7 +83,7 @@ > .endif > > CVS?= cvs > -CVSFLAGS?= -A -P -d > +CVSFLAGS?= -A -P -d -I! -ICVS > .if defined(CVSTAG) > CVSFLAGS+= -r ${CVSTAG} > .endif > %%% I regularly use the same trick here. When I want to build world and keep a logfile of all that's going on, I use something like this: # cd /root # sh build.sh -cu 2>&1 | tee logfile and one of the things that build.sh does when the -u option is present is: cd /usr/src ... if [ $rc_update -ne 0 ]; then echo '::: Updating the sources from CVS' env CVSROOT=/home/ncvs CVSFLAGS='-APd -I! -I CVS' \ make update unset rc_update fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040830084811.GA96014>