Subject: Re: Problem updating for "NetBSD Security Advisory"
To: None <netbsd-users@netbsd.org>
From: None <salmi.list.fwd@gmx.net>
List: netbsd-users
Date: 03/13/2003 21:53:33
John Fisher wrote:
[...]
> >    find . -name Repository | \
> >       xargs perl -i -pe 's:^(/cvsroot/)?(base|share|gnu|sys)src/:src/:'
[...]
> So far this seems to have worked great!  For some reason though it did not 
> want to change the Repository file in usr/src/CVS.  But that was the only 
> one, so I changed it by hand. 

that's because that file contained 'basesrc', not 'basesrc/'.

change the re to

	's:^(/cvsroot/)?(base|share|gnu|sys)src(/|$):src\3:'

and it works for all Repository files.


hth, jukka

-- 
bashian roulette:
$ ((RANDOM%6 == 0)) && rm -rf ~