Skip to content

Commit

Permalink
Update start_cocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
vivianmiranda authored Jul 29, 2023
1 parent 9a88ad7 commit 88fd232
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Cocoa/start_cocoa
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,14 @@ if [ -n "${SET_INSTALLATION_OPTIONS}" ]; then
else
source set_installation_options
fi
if [ -n "${MINICONDA_INSTALLATION}" ]; then
if [ ${CONDA_SHLVL} -ne 1 ]; then
echo "MINICONDA_INSTALLATION SET BUT CONDA ENVIRONMENT NOT ACTIVATED"
source stop_cocoa
return 1
fi
fi

#if [ -n "${MINICONDA_INSTALLATION}" ]; then
# if [ ${CONDA_SHLVL} -ne 1 ]; then
# echo "MINICONDA_INSTALLATION SET BUT CONDA ENVIRONMENT NOT ACTIVATED"
# source stop_cocoa
# return 1
# fi
#fi

# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
Expand Down Expand Up @@ -250,4 +251,4 @@ source $ROOTDIR/projects/start_all.sh
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------

export START_COCOA_DONE=1
export START_COCOA_DONE=1

0 comments on commit 88fd232

Please sign in to comment.