-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Milestone
Description
Some use case of the getenv modulefile command:
set _modules_home [getenv MODULESHOME]
source ${_modules_home}/commonLeads to error when displaying modulefile:
$ module display mod
-------------------------------------------------------------------
/path/to/mod:
Module ERROR: couldn't read file "$MODULESHOME/common": no such file or directory
while executing
"source "${_modules_home}/common"
(file "/path/to/mod" line 8)
Please contact <root@localhost>
-------------------------------------------------------------------On display mode, getenv returns the variable name which leads to such error as the value is expected to fully resolve string value.
Metadata
Metadata
Assignees
Labels
No labels