Last change
on this file since 14532 was 11368, checked in by ogrimm, 13 years ago |
Finding own script path does not work reliably under ubuntu, removed
|
File size:
580 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # This script should be sourced at log on (e.g. in .bashrc)
|
---|
3 |
|
---|
4 | # Set environment variables if not yet set
|
---|
5 | if [ -z "$DIM_DNS_NODE" ]; then export DIM_DNS_NODE=ihp-pc1.ethz.ch; fi
|
---|
6 | if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`hostname`.ethz.ch; fi
|
---|
7 | if [ -z "$DIMDIR" ]; then export DIMDIR=/usr/local/dim/; fi
|
---|
8 | if [ -z "$QWTDIR" ]; then export QWTDIR=/usr/local/qwt/; fi
|
---|
9 | if [ -z "$QTDIR" ]; then export QTDIR=/usr/local/Trolltech/Qt-4.6.2; fi
|
---|
10 |
|
---|
11 | #Set paths
|
---|
12 | export LD_LIBRARY_PATH=$QWTDIR/lib:$DIMDIR/linux:$LD_LIBRARY_PATH
|
---|
13 | export PATH=.:$DIMDIR/linux:$QTDIR/bin:$PATH
|
---|
Note:
See
TracBrowser
for help on using the repository browser.