Changeset 148 for tools


Ignore:
Timestamp:
01/18/10 09:39:01 (15 years ago)
Author:
ogrimm
Message:
Changes to Logon script
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/Scripts/Logon

    r125 r148  
    1 # This script file is sourced in .bashrc
    2 #
     1#!/bin/bash
     2
     3# This script should be sourced in .bashrc
     4
     5export DIM_DNS_NODE=ihp-pc26.ethz.ch
     6export DIM_HOST_NODE=$HOST.ethz.ch
     7export DIMDIR=/usr/local/dim_v19r9/
     8
     9export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH
     10export 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))
    313# The revision warning is given only once at login.
    414
    5 export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$LD_LIBRARY_PATH
    6 export PATH=/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH
    7 export DIM_DNS_NODE=ihp-pc26.ethz.ch
    8 export DIM_HOST_NODE=$HOST.ethz.ch
    9 
    10 # Check if repository is a mixed or locally modified version (only for login shell))
    11 
     15if  [[ "${USER}" == "daqct3" ]]; then
    1216if shopt -q login_shell; then
    1317if [[ `svnversion fact_repos* -n` =~ [:M] ]]
     
    2024fi
    2125fi
     26fi
Note: See TracChangeset for help on using the changeset viewer.