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

BF: Use ${CONDABIN}

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