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

RF: Use source activate if possible

parent 842d7b77
......@@ -16,8 +16,10 @@ default:
mkdir ./conda-dir;
export CONDA_ENVS_DIRS=$(pwd)/conda-dir/;
export CONDA_PKGS_DIRS=$(pwd)/conda-dir/.pkgs;
export CONDABINDIR=$(dirname $(which conda))
conda create -c conda-forge -p ./env python=3.9;
conda activate ./env;
if [ -f "$CONDABINDIR"/activate ]; then source $CONDABINDIR/activate ./env;
else conda activate ./env; fi
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules.git;
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git;
......
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