setup.sh 417 Bytes
Newer Older
Jaco Hofmann's avatar
Jaco Hofmann committed
1
if [ -n "$BASH_VERSION" ]; then
2
	export TAPASCO_HOME=`dirname ${BASH_SOURCE[0]} | xargs realpath`
Jaco Hofmann's avatar
Jaco Hofmann committed
3
4
elif [ -n "$ZSH_VERSION" ]; then
	export TAPASCO_HOME=`dirname ${(%):-%x} | xargs realpath`
5
6
7
8
9
else
	echo "WARNING: non-bash shell; need source setup.sh from the TaPaSCo root dir!"
	export TAPASCO_HOME=$PWD
fi
echo "TAPASCO_HOME=$TAPASCO_HOME"
10
export PATH=$TAPASCO_HOME/bin:$PATH
Jens Korinth's avatar
Jens Korinth committed
11
export MANPATH=$MANPATH:$TAPASCO_HOME/man