FAQ Answerpage
QUESTION:
Setting up your PATH
ANSWER:
Setting up your PATH
The PATH environment variable controls where commands are found by the Unix shell. Its important that it be set to use SoftRelTools commands that are consistent with the test release you are working in.
The original way to do this was to use the BFCURRENT environment variable and/or a ~/BFCURRENT file, which the SRTstartup.csh script would use to manipulate the PATH variable. This still works, but is somewhat
unwieldy:
Many, but not all sites, have an srtpath alias defined to do this. If your site is one of them,to set your PATH, you can use the command:
srtpath 2.4.1 $BFARCH
(NOTE: The $BFARCH is there because srtpath can also set the architecture in use, for example if you want to specify if you're using the native compiler instead of g++).
Its important that either SRTstartup.csh or srtpath be used to configure the PATH every time you start to use a test release. Relying on SRTstartup.csh setting the path to the "current" release is
not a reliable solution.
(Last updated 10/8/98)
[ SLAC Homepage] [Search] [FAQ Homepage]
If you have a FAQ (with or WITHOUT an answer), use our prototype submission form.
If you have comments or suggestions, email me at sison@slac.stanford.edu
|