mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
grep -q
This commit is contained in:
parent
9da44cea3b
commit
9205864cf0
|
|
@ -337,7 +337,7 @@ fi
|
|||
export PYENV_VERSION="${VERSION_NAME}"
|
||||
|
||||
is_available() {
|
||||
python-build --definitions | $(type -P ggrep grep | head -1) -F -x "$1" >/dev/null
|
||||
python-build --definitions | grep -F -x -q "$1"
|
||||
}
|
||||
|
||||
# Source version must exist before creating virtualenv.
|
||||
|
|
|
|||
Loading…
Reference in a new issue