source: tools/Scripts/Logon@ 138

Last change on this file since 138 was 125, checked in by ogrimm, 15 years ago
Included environment variables for DIM
File size: 765 bytes
Line 
1# This script file is sourced in .bashrc
2#
3# The revision warning is given only once at login.
4
5export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$LD_LIBRARY_PATH
6export PATH=/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH
7export DIM_DNS_NODE=ihp-pc26.ethz.ch
8export DIM_HOST_NODE=$HOST.ethz.ch
9
10# Check if repository is a mixed or locally modified version (only for login shell))
11
12if shopt -q login_shell; then
13if [[ `svnversion fact_repos* -n` =~ [:M] ]]
14 then
15 xterm -e "echo 'Warning: fact_repos.svn does not have a single revision number';
16 echo 'Make an update before starting a run!';
17 echo 'Contact O.Grimm, T.Kraehenbuehl, or Q.Weitzel in case you need help';
18 echo 'Hit return to continue';
19 read;"
20fi
21fi
Note: See TracBrowser for help on using the repository browser.