Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module avail reports a modulepath directory twice #274

Closed
xdelaruelle opened this issue May 10, 2019 · 0 comments
Closed

module avail reports a modulepath directory twice #274

xdelaruelle opened this issue May 10, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

With the following modulepath configuration:

$ module use /usr/share/Modules/modulefiles
$ module use /usr/share/Modules/modulefiles/\$MODULE_VERSION
$ unset MODULE_VERSION

Resulting configuration makes module report about the /usr/share/Modules/modulefiles modulepath directory twice:

$ module use
Search path for module files (in search order):
  /usr/share/Modules/modulefiles
  /usr/share/Modules/modulefiles
$ module avail
-------------------- /usr/share/Modules/modulefiles --------------------
dot  module-git  module-info  modules  null  use.own  

-------------------- /usr/share/Modules/modulefiles --------------------
dot  module-git  module-info  modules  null  use.own
@xdelaruelle xdelaruelle added this to the 4.3 milestone May 10, 2019
@xdelaruelle xdelaruelle self-assigned this May 15, 2019
xdelaruelle added a commit that referenced this issue May 15, 2019
@xdelaruelle xdelaruelle modified the milestones: 4.3, 4.2.5 Jul 8, 2019
xdelaruelle added a commit to xdelaruelle/modules that referenced this issue Jul 8, 2019
When resolving the enabled list of modulepaths, ensure resolved path
entries are unique.

Fixes cea-hpc#274.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant