summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/run.sh b/run.sh
index 404cf2b..6d29f6f 100755
--- a/run.sh
+++ b/run.sh
@@ -70,14 +70,12 @@ case "$LM_PYTHON_VERSION" in
"2"|"2.7")
echo "using python $LM_PYTHON_VERSION"
LICENSE_FINDER_CLI_OPTS="--python-version 2 $LICENSE_FINDER_CLI_OPTS"
- pip --version
+ pip2 --version
;;
"3"|"3.5")
echo "switching to python $LM_PYTHON_VERSION"
LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS"
- pip3 install --upgrade --no-index -f "file://$LOCAL_PYPI_INDEX" "pip==$VERSION_OF_PIP"
- update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1
pip --version
;;