]> git.uio.no Git - u/mrichter/AliRoot.git/blob - .alienEnvironment
Avoid some overlaps.
[u/mrichter/AliRoot.git] / .alienEnvironment
1 #!/bin/bash
2 echo "Setting AliROOT to $1"
3 export ALICE=$1
4 shift 1
5
6 export ALICE_LEVEL=v4-03-03
7 export ALICE_ROOT=$ALICE/$ALICE_LEVEL
8 TARGET=`uname`
9 export ALICE_TARGET=`perl -e "print lc($TARGET)"`
10
11 export  PATH=$ALICE_ROOT/bin/tgt_$ALICE_TARGET:/bin:/usr/bin:$HOME/bin:$ALIEN_ROOT/alice/local/bin:/usr/local/bin:$PATH
12 export LD_LIBRARY_PATH=$ALICE_ROOT/lib/tgt_$ALICE_TARGET/:$LD_LIBRARY_PATH
13
14 $*