if [ -n "$meecolay_ROOT" ]; then export meecolay_ROOT else # This needs to improve, but works well enough for debugging. # wrapper.sh will set a hardcoded /opt path. export meecolay_ROOT=$(pwd) fi if [ -n "$PATH" ]; then export PATH="$meecolay_ROOT/bin:$PATH" else export PATH="$meecolay_ROOT/bin" fi if [ -n "$LD_PRELOAD" ]; then export LD_PRELOAD="$meecolay_ROOT/lib/libstdc++.so.6:$LD_PRELOAD" else export LD_PRELOAD="$meecolay_ROOT/lib/libstdc++.so.6" fi if [ -n "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH="$meecolay_ROOT/lib:$LD_LIBRARY_PATH:/opt/qtm12/lib" else export LD_LIBRARY_PATH="$meecolay_ROOT/lib:/opt/qtm12/lib" fi if [ -n "$QML_IMPORT_PATH" ]; then export QML_IMPORT_PATH="/opt/qtm12/imports:$QML_IMPORT_PATH" else export QML_IMPORT_PATH="/opt/qtm12/imports" fi