Skip to content

Setting a full path entry in MODULEPATH using a variable reference #223

@xdelaruelle

Description

@xdelaruelle

Using a bare variable reference to define the entire path entry in MODULEPATH does not work:

$ export VAR=/tmp
$ module use
WARNING: No directories on module search path
$ module use \$VAR
ERROR: Directory '/home/user/$VAR' not found
$ module use
WARNING: No directories on module search path
$ module use /\$VAR
$ module use
Search path for module files (in search order):
  /tmp

The current directory is always added as a prefix to the variable reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions