From 9205864cf02fa268374e72375953503014293ab8 Mon Sep 17 00:00:00 2001 From: Marcin Date: Mon, 10 Apr 2023 15:08:18 +0100 Subject: [PATCH] grep -q --- bin/pyenv-virtualenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pyenv-virtualenv b/bin/pyenv-virtualenv index f5959ac..9886c6a 100755 --- a/bin/pyenv-virtualenv +++ b/bin/pyenv-virtualenv @@ -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.