Skip to content

Commit 1083b4b

Browse files
authored
Update install.sh (#14575)
convert .venv into .env in install.sh
1 parent 8be2d68 commit 1083b4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ getAlgo() {
3030
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" -b "${REPO_BRANCH}" algo
3131
cd algo
3232

33-
python3 -m virtualenv --python="$(command -v python3)" .venv
33+
python3 -m virtualenv --python="$(command -v python3)" .env
3434
# shellcheck source=/dev/null
35-
. .venv/bin/activate
35+
. .env/bin/activate
3636
python3 -m pip install -U pip virtualenv
3737
python3 -m pip install -r requirements.txt
3838
}
@@ -69,7 +69,7 @@ deployAlgo() {
6969

7070
cd /opt/algo
7171
# shellcheck source=/dev/null
72-
. .venv/bin/activate
72+
. .env/bin/activate
7373

7474
export HOME=/root
7575
export ANSIBLE_LOCAL_TEMP=/root/.ansible/tmp

0 commit comments

Comments
 (0)