Commit 6474f392 authored by Jens Korinth's avatar Jens Korinth
Browse files

Bugfix bash detection

parent 7b094701
if [[ "-bash" == $0 ]]; then
if [[ "-bash" == $0 || "bash" == `basename $0` ]]; then
export TAPASCO_HOME=`dirname ${BASH_SOURCE[0]} | xargs realpath`
echo "WARNING: non-bash shell; need source from the TaPaSCo root dir!"
Supports Markdown
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