#!/bin/bash # This script should be sourced in .bashrc export DIM_DNS_NODE=ihp-pc26.ethz.ch export DIM_HOST_NODE=$HOST.ethz.ch export DIMDIR=/usr/local/dim_v19r9/ export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH export PATH=$DIMDIR/linux:/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH # Check if repository is a mixed or locally modified version (only for login shell)) # The revision warning is given only once at login. if [[ "${USER}" == "daqct3" ]]; then if shopt -q login_shell; then if [[ `svnversion fact_repos* -n` =~ [:M] ]] then xterm -e "echo 'Warning: fact_repos.svn does not have a single revision number'; echo 'Make an update before starting a run!'; echo 'Contact O.Grimm, T.Kraehenbuehl, or Q.Weitzel in case you need help'; echo 'Hit return to continue'; read;" fi fi fi