Commit bc64cd3d authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Handle case where conda command is in $PREFIX/condabin/

parent 9f6561e0
......@@ -16,7 +16,7 @@ default:
mkdir ./conda-dir;
export CONDA_ENVS_DIRS=$(pwd)/conda-dir/;
export CONDA_PKGS_DIRS=$(pwd)/conda-dir/.pkgs;
export CONDABINDIR=$(dirname $(which conda));
CONDABINDIR=$(dirname $(which conda))/../bin/;
conda create -c conda-forge -p ./env python=3.9;
if [ -f "$CONDABINDIR"/activate ]; then source $CONDABINDIR/activate ./env;
else conda activate ./env; fi;
......
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