mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-13 22:13:52 -05:00
Workaround for the issue with pyenv-which-ext (refs #26)
This commit is contained in:
@@ -96,3 +96,13 @@ assert_output_contains() {
|
||||
} | flunk
|
||||
}
|
||||
}
|
||||
|
||||
create_executable() {
|
||||
mkdir -p "${PYENV_ROOT}/versions/$1/bin"
|
||||
touch "${PYENV_ROOT}/versions/$1/bin/$2"
|
||||
chmod +x "${PYENV_ROOT}/versions/$1/bin/$2"
|
||||
}
|
||||
|
||||
remove_executable() {
|
||||
rm -f "${PYENV_ROOT}/versions/$1/bin/$2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user