Content-type: text/html
The srt_setup alias is provided by $SRT_DIST/srt/srt.(c)sh.
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.
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.
-d, --defaults
-a, --auto-local