Commit 37de28fa authored by Jaco Hofmann's avatar Jaco Hofmann

Adds ZSH to dir-free setup.sh

parent 71b50778
if [[ "-bash" == $0 || "bash" == `basename $0` ]]; then
if [ -n "$BASH_VERSION" ]; then
export TAPASCO_HOME=`dirname ${BASH_SOURCE[0]} | xargs realpath`
elif [ -n "$ZSH_VERSION" ]; then
export TAPASCO_HOME=`dirname ${(%):-%x} | xargs realpath`
else
echo "WARNING: non-bash shell; need source setup.sh from the TaPaSCo root dir!"
export TAPASCO_HOME=$PWD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment