Commit bc5e3e89 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Take account conda environnement in install.sh

parent 0c3645b6
Pipeline #136561 passed with stages
in 5 minutes and 36 seconds
......@@ -10,7 +10,17 @@ INSTALL_PREFIX="$1"
if [ -z "$1" ]
then
INSTALL_PREFIX=$HOME/usr
if [ -z $CONDA_ENV_PATH ]
then
if [ -z $CONDA_PREFIX ]
then
INSTALL_PREFIX="$HOME/usr"
else
INSTALL_PREFIX=$CONDA_PREFIX
fi
else
INSTALL_PREFIX=$CONDA_ENV_PATH
fi
fi
export PATH=$INSTALL_PREFIX/bin:$PATH
......
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