Files
modules/modulefiles/modules.in
rkowen 379d346011 * Added module-cvs modulefile for easy CVS/ftp access to the
modules CVS repository.
* Added README.perl describing Ron Isaacson's Env::Modulecmd
  perl module (Ron.Isaacson@morganstanley.com).
* Added further tests for modulefile "module use dir_path"
* Fixed bug of unloading a modulefile with a "module use dir_path"
2001-07-11 21:56:36 +00:00

27 lines
665 B
Plaintext

#%Module1.0#####################################################################
##
## modules modulefile
##
proc ModulesHelp { } {
global version modroot
puts stderr "\tmodules - loads the modules software & application environment"
puts stderr "\n\tThis adds $modroot/* to several of the"
puts stderr "\tenvironment variables."
puts stderr "\n\tVersion $version\n"
}
module-whatis "loads the modules environment"
# for Tcl script use only
set version @VERSION@
set modroot @prefix@
setenv MODULESHOME $modroot
prepend-path PATH $modroot/bin
prepend-path MANPATH $modroot/man
module use @VERSIONPATH@