next up previous
Next: Importing Files Into the Up: Simple Project Management Using Previous: Setting Up a Repository

Defining the Environment Variable $CVSROOT

At this point, you may also wish to set the environment variable $CVSROOT to point to the newly initialized directory. You can set it temporarily at the command line, or arrange for it to be set every time you log in by defining it in the startup file for your shell in your home directory (i.e. .profile for sh-style shells or .cshrc for csh-style shells). For example, in $HOME/.profile add the line:

export CVSROOT=$HOME/cvsroot

Or in $HOME/.cshrc:

setenv CVSROOT $HOME/cvsroot

From this point forward we will assume that the environment variable $CVSROOT is defined, eliminating the need to specify the ``-d'' option to cvsevery time.



Michael S. Bland
2000-11-22