Skip to content

Tags of loaded module should not apply to module with same name in different modulepath #599

Description

@xdelaruelle

Module tags applying to a loaded module also apply to module with same name but located in different modulepath.

$ module avail -t
/path/to/modulefiles.1:
foo/1

/path/to/modulefiles.2:
foo/1
$ module avail -t
/path/to/modulefiles.1:
foo/1 <L>

/path/to/modulefiles.2:
foo/1 <L>
$ echo $_LMFILES_ 
/path/to/modulefiles.1/foo/1

It is expected that these tags only apply to the loaded module and not to others having the same module name. In the provided example foo/1 from /path/to/modulefiles.2 should not be marked loaded.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions