source: trunk/modulefile

Last change on this file was 20, checked in by willem, 8 years ago

willem

File size: 728 bytes
Line 
1#%Module
2##
3##        stopos 0.93
4##
5
6proc ModulesHelp { } {
7        puts stderr "Sets up paths you need to use the stopos software"
8}
9
10set root /home/willem/myroot/sara/sw/stopos-0.93
11
12if { [ module-info shelltype ] == "csh" } {
13  set-alias stopos  "eval \"`$root/bin/stoposclient $*`\""
14} else {
15         if { [module-info mode] == "load" } {
16
17            puts stdout "stopos() { a=\"`$root/bin/stoposclient \"$@\"`\"; r=\$?; eval \"\$a\"; return \$r;}; export -f stopos;"
18         } else {
19            puts stdout "unset stopos;"
20         }
21}
22
23prepend-path PATH               $root/bin
24prepend-path MANPATH            $root/man
25
26setenv STOPOS_SERVER_URL        http://stopos.osd.surfsara.nl/cgi-bin/stoposserver
27
28setenv SARA_STOPOS_ROOT          $root
Note: See TracBrowser for help on using the repository browser.