Content-type: text/html Manpage of srt_environment

srt_environment

Section: User Commands (1)
Updated: April 27, 1999
Index Return to Main Contents
 

NAME

srt_setup - Setup SoftRelTools environment variables.
srt_environment - Show SoftRelTools environment variables.

 

SYNOPSIS

srt_setup [-?, --help] [-d, --defaults] [-a, --auto-local] [VAR1=value1 VAR2=value2 ...]
srt_environment [-?, --help]

 

DESCRIPTION

srt_setup sets the necessary environment variables for SoftRelTools. srt_environment displays the variables. srt_setup is actually an alias that sources the output of srt_environment when called with internal options.

The srt_setup alias is provided by $SRT_DIST/srt/srt.(c)sh.

 

System defaults

srt_setup and srt_environment source the file $SRT_DIST/srt/srt_envrc. This allows the librarian to set defaults for an entire project. For example, the srt_envrc might contain the lines

DEFAULT_SRT_CXX=KCC_3_3

DEFAULT_SRT_BASE_RELEASE=development

Since the file is sourced by the shell script, it can contain any shell commands. Only the resulting value of the variables matter.

 

User defaults

srt_setup and srt_environment also source the file $HOME/.srt_envrc. (Note the presence of a leading dot in the user file, but not in the system file.) This allows the user to set his/her own defaults. Again, the file is sourced by the shell script, so it can contain any shell commands.

 

OPTIONS

-?, --help

 Prints the usage message.

-d, --defaults


 Set variables to defaults. The defaults are used
 automatically the first time srt_setup is called.

-a, --auto-local


 Automatically set local context to the current
 test release.

 

FILES

$SRT_DIST/srt/srt_envrc, $HOME/.srt_envrc

 

AUTHOR

James Amundson. (amundson@fnal.gov)


 

Index

NAME
SYNOPSIS
DESCRIPTION
System defaults
User defaults
OPTIONS
FILES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:07:57 GMT, January 04, 2001