Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Use lf-activate-venv to install openstack dep
[releng/global-jjb.git]
/
shell
/
python-tools-install.sh
diff --git
a/shell/python-tools-install.sh
b/shell/python-tools-install.sh
index
c817360
..
e5d836b
100644
(file)
--- a/
shell/python-tools-install.sh
+++ b/
shell/python-tools-install.sh
@@
-17,8
+17,10
@@
python="python3"
if [[ -f ~/lf-env.sh ]]; then
source ~/lf-env.sh
lf-activate-venv --python "$python" lftools
if [[ -f ~/lf-env.sh ]]; then
source ~/lf-env.sh
lf-activate-venv --python "$python" lftools
+ # Save the virtualenv path
+ echo "$lf_venv" > "/tmp/.os_lf_venv"
elif [[ -d /opt/pyenv ]]; then
elif [[ -d /opt/pyenv ]]; then
- echo "
---> Setting
up pyenv"
+ echo "
Setup
up pyenv"
export PYENV_ROOT="/opt/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv versions
export PYENV_ROOT="/opt/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv versions