Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # This script should be sourced in .bashrc |
---|
4 | |
---|
5 | export DIM_DNS_NODE=ihp-pc26.ethz.ch |
---|
6 | export DIM_HOST_NODE=$HOST.ethz.ch |
---|
7 | export DIMDIR=/usr/local/dim_v19r9/ |
---|
8 | |
---|
9 | export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH |
---|
10 | export PATH=$DIMDIR/linux:/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH |
---|
11 | |
---|
12 | # Check if repository is a mixed or locally modified version (only for login shell)) |
---|
13 | # The revision warning is given only once at login. |
---|
14 | |
---|
15 | if [[ "${USER}" == "daqct3" ]]; then |
---|
16 | if shopt -q login_shell; then |
---|
17 | if [[ `svnversion fact_repos* -n` =~ [:M] ]] |
---|
18 | then |
---|
19 | xterm -e "echo 'Warning: fact_repos.svn does not have a single revision number'; |
---|
20 | echo 'Make an update before starting a run!'; |
---|
21 | echo 'Contact O.Grimm, T.Kraehenbuehl, or Q.Weitzel in case you need help'; |
---|
22 | echo 'Hit return to continue'; |
---|
23 | read;" |
---|
24 | fi |
---|
25 | fi |
---|
26 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.