File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ resolve_link() {
55if [ -n " ${DEFINITION} " ]; then
66 if [[ " ${DEFINITION} " != " ${DEFINITION%/ envs/* } " ]]; then
77 # Uninstall virtualenv by long name
8- exec pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
9- exit 128
8+ pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
109 else
1110 VERSION_NAME=" ${VERSION_NAME:- ${DEFINITION##*/ } } "
1211 PREFIX=" ${PREFIX:- ${PYENV_ROOT} / versions/ ${VERSION_NAME} } "
@@ -15,8 +14,7 @@ if [ -n "${DEFINITION}" ]; then
1514 REAL_DEFINITION=" ${REAL_PREFIX# ${PYENV_ROOT} / versions/ } "
1615 if [[ " ${REAL_DEFINITION} " != " ${REAL_DEFINITION%/ envs/* } " ]]; then
1716 # Uninstall virtualenv by short name
18- exec pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
19- exit 128
17+ pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
2018 fi
2119 else
2220 # Uninstall all virtualenvs inside `envs` directory too
@@ -28,3 +26,4 @@ if [ -n "${DEFINITION}" ]; then
2826 fi
2927 fi
3028fi
29+ FORCE=t
You can’t perform that action at this time.
0 commit comments