Skip to content
Snippets Groups Projects
Commit aa4f6bf7 authored by Nils Brüggemann's avatar Nils Brüggemann
Browse files

tools/conda_act_mistral_pyicon_env.sh: Went back to previous version since new...

tools/conda_act_mistral_pyicon_env.sh: Went back to previous version since new version has the issue that path is taken relatively from where conda_act_mistral_pyicon_env.sh is called.
parent 8178c244
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,8 @@ conda_env="pyicon_py38"
#conda_env="myenv_py3"
# --- add pyicon to PYTHONPATH
#PYICON_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null 2>&1 && pwd )" # doesn't work as intended: always uses source script as basis
PYICON_PATH="$( cd "$(pwd)/.." >/dev/null 2>&1 && pwd )"
PYICON_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null 2>&1 && pwd )" #problem: takes directory of source script as base
#PYICON_PATH="$( cd "$(pwd)/.." >/dev/null 2>&1 && pwd )" # problem: takes directory as base from where this script is called
export PYTHONPATH="${PYICON_PATH}"
# use this if you have a harmless PYTHONPATH which you want to keep
#export PYTHONPATH="${PYICON_PATH}:${PYTHONPATH}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment