mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-23 00:07:57 +02:00
Merge branch 'cherry-pick-9d6acb4e' into 'master'
csh initialization fixed See merge request Pmodules/src!169
This commit is contained in:
@@ -35,6 +35,16 @@ unset prefix
|
||||
unset postfix
|
||||
|
||||
setenv MODULEPATH
|
||||
if (! $?DefaultGroups ) then
|
||||
setenv DefaultGroups 'Tools Programming'
|
||||
endif
|
||||
foreach group ( ${DefaultGroups} )
|
||||
if ( "${MODULEPATH}" == "" ) then
|
||||
setenv MODULEPATH "${PMODULES_ROOT}/${group}/${PMODULES_MODULEFILES_DIR}"
|
||||
else
|
||||
setenv MODULEPATH "${MODULEPATH}:${PMODULES_ROOT}/${group}/${PMODULES_MODULEFILES_DIR}"
|
||||
endif
|
||||
end
|
||||
|
||||
if (! $?LOADEDMODULES ) then
|
||||
setenv LOADEDMODULES ""
|
||||
|
||||
Reference in New Issue
Block a user