Line | |
---|
1 | #%Module |
---|
2 | ## |
---|
3 | ## stopos 0.92 |
---|
4 | ## |
---|
5 | |
---|
6 | proc ModulesHelp { } { |
---|
7 | puts stderr "Sets up paths you need to use the stopos software" |
---|
8 | } |
---|
9 | |
---|
10 | set root /home/willem/myroot/sara/sw/stopos-0.92 |
---|
11 | |
---|
12 | if { [ 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 | |
---|
23 | prepend-path PATH $root/bin |
---|
24 | prepend-path MANPATH $root/man |
---|
25 | |
---|
26 | setenv STOPOS_SERVER_URL http://stopos.osd.surfsara.nl/cgi-bin/stoposserver |
---|
27 | |
---|
28 | setenv SARA_STOPOS_ROOT $root |
---|
Note: See
TracBrowser
for help on using the repository browser.