/usr/share/modules/modulefiles/module-git is in environment-modules 3.2.10-10.
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 18 19 20 21 22 23 24 25 26 27 | #%Module1.0#####################################################################
##
## module-cvs modulefile
##
## modulefiles/module-git. Generated from module-git.in by configure.
##
proc ModulesHelp { } {
global version
puts stderr "\tThis module will set up an alias"
puts stderr "\tfor easy anonymous check-out of this version of the"
puts stderr "\tenvironment modules package."
puts stderr "\get-modules - retrieve modules sources for this version"
puts stderr "\n\tVersion $version\n"
}
# for Tcl script use only
set version 3.2.10
set _version_ [ string map {. -} $version ]
module-whatis "get this version of the module sources from SourceForge.net"
set-alias get-modules "git clone git://git.code.sf.net/p/modules/git modules-$_version_ && cd modules-$_version_ && git checkout modules-$_version_"
if [ module-info mode load ] {
ModulesHelp
}
|