Skip to content
Snippets Groups Projects
Commit 1dfe3e32 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'explicit-envs-pkgs-dir' into 'master'

Explicitly set envs_dir during builds to avoid cross-talk between existing environments on shared builds (!8)

Closes #12

See merge request !8
parents cf098b16 bebc8e52
No related branches found
No related tags found
1 merge request!8Explicitly set envs_dir during builds to avoid cross-talk between existing environments on shared builds (!8)
Pipeline #26740 passed
......@@ -6,3 +6,11 @@ set -x
sed -e '/^\/usr\/local/d' -i .orig /etc/paths
sed -e '/^\/Library\/TeX\/texbin/d' -i .orig /etc/paths
echo -e "/usr/local/bin\n/usr/local/sbin\n/usr/local/opt/coreutils/libexec/gnubin\n/Library/TeX/texbin\n$(cat /etc/paths)" > /etc/paths
# ensures no cross-talking happens between miniconda installations on
# the shared builder - see bob/bob.devtools#12 and bob/bob.devtools!8
condadir=/Users/${USER}/.conda
mkdir ${condadir}
touch ${condadir}/environments.txt
chown -R ${USER}:staff ${condadir}
chmod a-w ${condadir}/environments.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment