From: Kefu Chai Date: Mon, 5 Oct 2020 22:46:37 +0000 (+0800) Subject: bootstrap: correct the check for --use-feature=2020-resolver X-Git-Tag: 1.1.0~43^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18e188eb13ee41cdfb234d644630ff8c47ecee7a;p=teuthology.git bootstrap: correct the check for --use-feature=2020-resolver Signed-off-by: Kefu Chai --- diff --git a/bootstrap b/bootstrap index 34425c05e..4aef8198f 100755 --- a/bootstrap +++ b/bootstrap @@ -157,7 +157,7 @@ fi # be compatible with pip shipped by distro older v20.2 -if $vdir/bin/pip --use-feature=2020-resolver >/dev/null 2>&1 ; then +if ./$VENV/bin/pip --use-feature=2020-resolver >/dev/null 2>&1 ; then PIP_INSTALL="./$VENV/bin/pip install --use-feature=2020-resolver" else PIP_INSTALL="./$VENV/bin/pip install"