mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Force creation of symlink if it exists
This makes test setup more resilient.
This commit is contained in:
parent
ba8598a25d
commit
c6cb3ede68
|
|
@ -32,7 +32,7 @@ create_m_venv() {
|
|||
local venv_dir="${PYENV_ROOT}/versions/${version}/envs/${venv}"
|
||||
|
||||
echo "home = ${PYENV_ROOT}/versions/${version}/bin" > "${venv_dir}/pyvenv.cfg"
|
||||
ln -s "${venv_dir}" "${PYENV_ROOT}/versions/${venv}"
|
||||
ln -sf "${venv_dir}" "${PYENV_ROOT}/versions/${venv}"
|
||||
}
|
||||
|
||||
setup() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue