bugs in initialization of PATH fixed in modulecmd.bash.in

- prepend Pmodules bin directory to PATH
- export MANPATH
This commit is contained in:
2019-05-13 16:47:17 +02:00
parent 2c92aa659d
commit 6ef4dd3667
+3 -2
View File
@@ -1410,7 +1410,7 @@ subcommand_list() {
init_path() {
std::replace_path PATH "${PMODULES_HOME%/*}/.*"
std::append_path PATH "${PMODULES_HOME}/bin"
std::prepend_path PATH "${PMODULES_HOME}/bin"
}
init_manpath() {
@@ -1450,7 +1450,8 @@ pmodules_init() {
LOADEDMODULES \
_LMFILES_ \
MODULEPATH \
PATH
PATH \
MANPATH
}
##############################################################################