Forum OpenACS Q&A: Re: OCT team plan for upgrade

Collapse
Posted by Joel Aufrecht on
The following bash command will change openacs.org to cvs.openacs.org in all of the CVS/Root files in all subdirectories. So do this to change over a directory:
cd /var/lib/aolserver/service0
for file in `find . -name Root | grep CVS`; do  perl -p -i -e 's/openacs\.org/cvs\.openacs\.org/' $file; done 
Don't do this if you are using anonymous access via pserver (ie, your CVS/Root says ":pserver:anonymous@openacs.org") or you will break your cvs checkout, because pserver hasn't been set up yet for cvs.openacs.org. You can reverse this change by repeating the command with openacs\.org and cvs\.openacs\.org swapped.)