From 91bca0cb1fbcf4ed08acb9dfdfedde63a7bdcf06 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 24 Mar 2021 13:28:34 -0700 Subject: [PATCH] attempt to fix build issue --- CI/before_script.msvc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index b2b6483ec7..93d995c995 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -849,8 +849,8 @@ fi fi # check version - pip list | grep 'aqtinstall\s*1.1.3' - if [ $? -ne 0 ]; then + aqt-venv/${VENV_BIN_DIR}/pip list | grep 'aqtinstall\s*1.1.3' || [[ $? -ne 0 ]] + if [[ $? -eq 0 ]]; then echo " Installing aqt wheel into virtualenv..." run_cmd "aqt-venv/${VENV_BIN_DIR}/pip" install aqtinstall==1.1.3 fi