>>>>> "Nate" == Nate Williams <[EMAIL PROTECTED]> writes:
Nate> find /local2/CVSfoo -name Root -print | fgrep CVS | perl -pi
Nate> -e 's#/local#/local2/#g;'
Perl? Bah! (I wrote this to also handle a rename of our CVS server. Adjust
as necessary.)
#!/bin/sh
for i in `find . -type d -name CVS -print`; do
if [ -f $i/Root ] ; then
echo ':kserver:cvs.example.org:/cvs' > $i/Root
fi
if [ -f $i/Repository ] ; then
ed $i << _EOF
%s;/usr/local/cvs/sendmail;/cvs/sendmail;
w
q
_EOF
fi
done
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- moving CVS repository Wilko Bulte
- Re: moving CVS repository Mike Bristow
- Re: moving CVS repository Boris Popov
- Re: moving CVS repository Alexander Langer
- Re: moving CVS repository Nate Williams
- Re: moving CVS repository Chris Costello
- Re: moving CVS repository Lyndon Nerenberg
- Re: moving CVS repository Alexander Langer
- Re: moving CVS repository Warner Losh
- Re: moving CVS repository Ollivier Robert
- Re: moving CVS repository Peter Wemm
- Re: moving CVS repository Wilko Bulte
- Re: moving CVS repository Peter Wemm

