Date: Sun, 09 Jan 2000 17:15:25 -0700 From: Lyndon Nerenberg <lyndon@orthanc.ab.ca> To: nate@mt.sri.com (Nate Williams) Cc: Alexander Langer <alex@big.endian.de>, Boris Popov <bp@butya.kz>, Wilko Bulte <wilko@yedi.iaf.nl>, FreeBSD hackers list <FreeBSD-hackers@FreeBSD.ORG> Subject: Re: moving CVS repository Message-ID: <200001100015.e0A0FQP07232@orthanc.ab.ca> In-Reply-To: Your message of "Sun, 09 Jan 2000 11:39:31 MST." <200001091839.LAA16606@mt.sri.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Nate" == Nate Williams <nate@mt.sri.com> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001100015.e0A0FQP07232>