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

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

parent 8a900714
......@@ -75,7 +75,7 @@
# Otherwise create a conda env in the job work
# dir, and install fsl-ci-rules into it
- if [ "$DOCKER" == "0" ]; then
CONDADIR=$(dirname $(which conda));
CONDADIR=$(dirname $(which conda))/../bin/;
conda create -y -p ${FSL_CI_CONFIG_DIR}/env -c conda-forge python=3.9 conda-build;
if [ -f "${CONDADIR}"/activate ]; then source ${CONDADIR}/activate ${FSL_CI_CONFIG_DIR}/env;
else conda activate ${FSL_CI_CONFIG_DIR}/env; fi;
......
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