Skip to content

Commit

Permalink
Update install.sh (trailofbits#14575)
Browse files Browse the repository at this point in the history
convert .venv into .env in install.sh
  • Loading branch information
al-ah authored Mar 3, 2023
1 parent 8be2d68 commit 1083b4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ getAlgo() {
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" -b "${REPO_BRANCH}" algo
cd algo

python3 -m virtualenv --python="$(command -v python3)" .venv
python3 -m virtualenv --python="$(command -v python3)" .env
# shellcheck source=/dev/null
. .venv/bin/activate
. .env/bin/activate
python3 -m pip install -U pip virtualenv
python3 -m pip install -r requirements.txt
}
Expand Down Expand Up @@ -69,7 +69,7 @@ deployAlgo() {

cd /opt/algo
# shellcheck source=/dev/null
. .venv/bin/activate
. .env/bin/activate

export HOME=/root
export ANSIBLE_LOCAL_TEMP=/root/.ansible/tmp
Expand Down

0 comments on commit 1083b4b

Please sign in to comment.