Server Environment Variables
CVS reads some of the calling user’s environment variables whenever you run a command for which the variable may affect the results. These variables, shown in the following list, are read and used by the process that runs on the repository’s server. Note that these variables must be in the calling user’s environment on the repository server, so different users may cause different behaviors.
Tip
In local-access mode, CVS uses both client and server environment variables.
-
CVS_SERVER_SLEEP Delays the start of the client/server process by
CVS_SERVER_SLEEPseconds to allow a debugger to be attached to it. Use this variable only when debugging the server in client/server mode.-
CVSUMASK Sets the default permissions of files in the repository. See Section 6.3 earlier in this chapter.
This variable may be added to the client code in a later version of CVS.
-
PATH Locates any programs whose paths are not coded into the CVS program. It is also used for the programs called in the scripting files. The
PATHvariable is less important to CVS than it was when thercs,diff, andpatchprograms CVS now uses were not included with CVS.-
TMPDIR Sets the temporary directory CVS stores data in. It defaults to
/tmp. CVS creates temporary files withmkstemp(BSD 4.3) if possible. It determines what is available at compile time, and if it can’t findmkstempit triestempnam(SVID 3),mktemp(BSD 4.3), ortmpnam(POSIX), in that order. If it usestmpnam, it cannot use the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access