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