]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap: correct the check for --use-feature=2020-resolver 1567/head
authorKefu Chai <kchai@redhat.com>
Mon, 5 Oct 2020 22:46:37 +0000 (06:46 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 5 Oct 2020 22:46:37 +0000 (06:46 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
bootstrap

index 34425c05e869aa5647f17f42f13368008bf85eeb..4aef8198f698d7849fe9e0c78c681329261d5806 100755 (executable)
--- 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"