Update install.sh

This commit is contained in:
Jack Ivanov 2019-04-24 07:40:00 +02:00 committed by GitHub
parent b9fc8ccacd
commit 5c0293372a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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