On 2004-08-30 10:28, Ruslan Ermilov <ru_at_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 > _at__at_ -83,7 +83,7 _at__at_ > .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 fiReceived on Mon Aug 30 2004 - 06:48:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC