2
# bash script which sets the correct paths and executes TOPPAS
4
export OPENMS_TOPP_PATH=`dirname $0`
6
## we need to set the DYLIB_LIBRARY_PATH for the TOPP-tools to execute properly
7
export DYLD_LIBRARY_PATH=${OPENMS_TOPP_PATH}/../../../lib/:${OPENMS_TOPP_PATH}/../../../lib/QtCore.framework/Versions/4/:${OPENMS_TOPP_PATH}/../../../lib/QtGui.framework/Versions/4/:${OPENMS_TOPP_PATH}/../../../lib/QtNetwork.framework/Versions/4/:${OPENMS_TOPP_PATH}/../../../lib/QtOpenGL.framework/Versions/4/:${OPENMS_TOPP_PATH}/../../../lib/QtSql.framework/Versions/4/:${OPENMS_TOPP_PATH}/../../../lib/QtXml.framework/Versions/4/:$DYLIB_LIBRARY_PATH
9
## setting of the OpenMS data path to the share directory
10
export OPENMS_DATA_PATH=${OPENMS_TOPP_PATH}/../../../share/OpenMS
12
## we need to set the path variable accordingly
13
export PATH=${OPENMS_TOPP_PATH}/../../../TOPP:$PATH
16
cd ${OPENMS_TOPP_PATH}/../../../TOPP/