Commit 99eaadb9 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: God damn I hate conda. Call conda shell function (assumed to be defined),

rather than executable, if activate script not available
parent 2273e6e4
......@@ -20,7 +20,7 @@ default:
CONDABINDIR=$(dirname ${CONDABIN})/../bin/;
${CONDABIN} create -c conda-forge -p ./env python=3.9;
if [ -f "$CONDABINDIR"/activate ]; then source $CONDABINDIR/activate ./env;
else ${CONDABIN} activate ./env; fi;
else conda activate ./env; fi;
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/fsl-ci-rules.git;
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git;
......
Supports Markdown
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