forked from cms-gem-daq-project/xhal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
11 lines (10 loc) · 817 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
if [[ ! "$0" =~ ("bash") ]]
then
# best for calling from zsh
export XHAL_ROOT=$(dirname $(readlink -f "$0") )
else
# bash specific, must be sourced from a bash shell...
export XHAL_ROOT=$(dirname $(readlink -f "${BASH_SOURCE[0]}"))
fi
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$XHAL_ROOT/lib
export PATH=$PATH:$XHAL_ROOT/python/reg_interface