info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ***SPAM*** Enviorment Variables?


From: Mark D. Baushke
Subject: Re: ***SPAM*** Enviorment Variables?
Date: Sat, 10 Apr 2004 14:17:58 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden writes:

> I've been beating my head against the wall trying to understand why I
> can't set the $CVSROOT env var...
>  
> Here is what I've tried
>  
> # set CVSROOT=/usr/local/CVSROOT
> # export CVSROOT


For a Bourne Shell such as bash, ksh, sh or zsh, the syntax is

    CVSROOT=/usr/local/CVSROOT
    export CVSROOT

For a C-Shell such as csh or tcsh, the syntax is

    setenv CVSROOT /usr/local/CVSROOT

To unset the CVSROOT variable, for the bash, ksh, sh or zsh shells, the
syntax is:

    unset CVSROOT
or
    unset -v CVSROOT

To unset the CVSROOT variable, for csh or tcsh shells, the syntax is:

    unsetenv CVSROOT

  
> but then when i do a "# cvs version" I get this error
>  
> # cvs version: No CVSROOT specified!

Note that you may always use the -d switch to cvs if you are outside
of a cvs sandbox

   cvs -d /usr/local/CVSROOT version

once you have checked out a tree and are inside of it, you no longer
need to have either the CVSROOT environment variable set nor the -d
argument to cvs to pass in the cvsroot.

> Any ideas?
> thx in advance

I hope the above answers your question.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAeGSF3x41pRYZE/gRAkioAKC/bZ3T4cU32HuZqM6VIZiuKu83wQCgy+WP
G4e9uZuSTMIu6ksOKpnZskw=
=/yOC
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]