Improve conda environment directory detection
Changed pattern to *env* to match both envs and conda_envs directories. This ensures all environment directories are added to CONDA_ENVS_DIRS.
This commit is contained in:
parent
51edcfc2bb
commit
1d1d6bcbaf
@ -87,7 +87,7 @@ if [ -n "$CONDA_EXTRA_DIRS" ]; then
|
||||
echo " - Mounting $dir"
|
||||
MOUNT_ARGS="$MOUNT_ARGS -v $dir:$dir:ro"
|
||||
# Build comma-separated list for CONDA_ENVS_DIRS
|
||||
if [[ "$dir" == *"envs"* ]]; then
|
||||
if [[ "$dir" == *"env"* ]]; then
|
||||
if [ -z "$CONDA_ENVS_PATHS" ]; then
|
||||
CONDA_ENVS_PATHS="$dir"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user