#!/bin/bash #echo "The script you are running has basename `basename $0`, dirname `dirname $0`" #echo "The present working directory is `pwd`" DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) echo "Using FairSoft & FairRoot installations in "$DIR export SIMPATH=$DIR/FairSoftInst export FAIRROOTPATH=$DIR/FairRootInst