source: tags/0.9/modulefile @ 9

Last change on this file since 9 was 9, checked in by willem, 11 years ago

willem

File size: 718 bytes
Line 
1#%Module
2##
3##        stopos 0.6
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.6
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://localhost:5050/cgi-bin/stoposserver
27
28setenv SARA_STOPOS_ROOT          $root
Note: See TracBrowser for help on using the repository browser.