mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 02:19:39 +02:00
28 lines
644 B
Tcsh
Executable File
28 lines
644 B
Tcsh
Executable File
#!/bin/tcsh
|
|
|
|
setenv DefaultGroups 'Tools Programming'
|
|
setenv DefaultReleaseStages 'stable'
|
|
if ( ! $?PMODULES_VERSION ) then
|
|
setenv PMODULES_VERSION "@PMODULES_VERSION@"
|
|
endif
|
|
if ( ${PMODULES_VERSION} == "" ) then
|
|
setenv PMODULES_VERSION "@PMODULES_VERSION@"
|
|
endif
|
|
|
|
setenv PMODULES_HOME "@PMODULES_ROOT@/Tools/Pmodules/${PMODULES_VERSION}"
|
|
|
|
set _init_csh="${PMODULES_HOME}/init/csh"
|
|
if ( ! -r "${_init_csh}" ) then
|
|
echo "Oops: cannot initialize Modules!"
|
|
echo "${_init_csh}: File does not exist or is not readable."
|
|
else
|
|
source "${_init_csh}"
|
|
endif
|
|
unset _init_csh
|
|
|
|
# Local Variables:
|
|
# mode: csh
|
|
# sh-basic-offset: 8
|
|
# tab-width: 8
|
|
# End:
|