From 6a20ef2bb602e5d54ddbeb837a06450eee85e0f5 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Wed, 30 Oct 2024 12:27:53 -0400 Subject: [PATCH] tidy venv usage in `install.sh` (#18778) * tidy venv usage in `install.sh` * Update install.sh * Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index efed665b91d1..0db2b258577c 100755 --- a/install.sh +++ b/install.sh @@ -185,7 +185,7 @@ else fi if [ ! -f "activate" ]; then - ln -s venv/bin/activate . + ln -s .venv/bin/activate . fi if [ -z "$EDITABLE" ]; then @@ -194,11 +194,11 @@ fi if [ -n "$PLOTTER_INSTALL" ]; then set +e - PREV_VENV="$VIRTUAL_ENV" - export VIRTUAL_ENV="venv" + # shellcheck disable=SC1091 + . .venv/bin/activate ./install-plotter.sh bladebit ./install-plotter.sh madmax - export VIRTUAL_ENV="$PREV_VENV" + deactivate set -e fi