Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
fsl-ci-rules
Commits
d4e71196
Commit
d4e71196
authored
Sep 20, 2021
by
Paul McCarthy
🚵
Browse files
RF: Handle case where conda is in $PREFIX/condabin/
parent
8a900714
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/fsl-ci-job-template.yml
View file @
d4e71196
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment