Skip to content

Commit

Permalink
Merge pull request conda#10459 from niklasholm/patch/issue-8693
Browse files Browse the repository at this point in the history
Partially fix profile script PATH setup on MSYS2
  • Loading branch information
chenghlee authored Apr 5, 2021
2 parents a8ddbd1 + 5dc04f2 commit 3e84f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/shell/etc/profile.d/conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if [ -z "${CONDA_SHLVL+x}" ]; then
\export CONDA_SHLVL=0
# In dev-mode CONDA_EXE is python.exe and on Windows
# it is in a different relative location to condabin.
if [ -n "${_CE_CONDA+x}" ] && [ -n "${WINDIR+x}" ]; then
if [ -n "${_CE_CONDA:+x}" ] && [ -n "${WINDIR+x}" ]; then
PATH="$(\dirname "$CONDA_EXE")/condabin${PATH:+":${PATH}"}"
else
PATH="$(\dirname "$(\dirname "$CONDA_EXE")")/condabin${PATH:+":${PATH}"}"
Expand Down

0 comments on commit 3e84f24

Please sign in to comment.