I'd like to take an informal poll on how people install the modules locally.
There is no real "default", but RKO has proposed to install in
/usr/local/Modules/$version/bin/modulecmd
I personally use (example)
/foo/bar/modules-3.1.6/SunOS/bin/modulecmd
since all our machines (SunOS, Linux, HP-UX, IRIX) can mount /foo/bar. The
current init scripts ONLY support the former path, so I wanted to get a feel
for what people use (before I get my hands dirty in the code and init scripts).
My goal is to get rid of the init script, and put everything inside the
modulecmd itself. The way to init the module command would be then:
eval `/path/to/module/command/modulecmd csh bootstrap`
which would basically do the same as
source /path/to/module/command/init/csh
but eliminate the need to maintain all those init scripts, and make
installation easier (there is just one file to install).
thanks,
Mark
Mark Lakata, Staff Engineer 1225 Charleston Road voice 650-567-5170
MIPS Technologies Mountain View CA 94043 fax 650-567-5002
|