/usr/share/modules/modulefiles/module-git is in environment-modules 4.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #%Module1.0#####################################################################
##
## module-git modulefile
##
proc ModulesHelp { } {
puts stderr "\tThis module will set up an alias for easy anonymous"
puts stderr "\tcheck-out last version of the Modules package"
puts stderr "\tget-modules - retrieve last version of modules sources"
}
module-whatis "get last version of the module sources from GitHub"
set-alias get-modules "git clone git://github.com/cea-hpc/modules.git && cd modules"
if [ module-info mode load ] {
ModulesHelp
}
|