mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-14 00:33:02 +02:00
Update install.sh
This commit is contained in:
parent
b9fc8ccacd
commit
5c0293372a
1 changed files with 2 additions and 4 deletions
|
@ -36,11 +36,9 @@ installRequirements() {
|
|||
}
|
||||
|
||||
getAlgo() {
|
||||
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" algo
|
||||
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" -b "${REPO_BRANCH}" algo
|
||||
cd algo
|
||||
|
||||
git checkout "${REPO_BRANCH}"
|
||||
|
||||
python -m virtualenv --python="$(command -v python2)" .venv
|
||||
# shellcheck source=/dev/null
|
||||
. .venv/bin/activate
|
||||
|
|
Loading…
Add table
Reference in a new issue