From 5c0293372a32fcad7a4937c0b8be5746027f8e84 Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Wed, 24 Apr 2019 07:40:00 +0200 Subject: [PATCH] Update install.sh --- install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 96debfa8..5c7cf504 100644 --- a/install.sh +++ b/install.sh @@ -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