[install bug]Fix directory changed when installing env
The current directory is changed when install_rally.sh installs virtual environment, so if we use ./install_rally.sh, $BASEDIR will be an error directory when we decide whether downloading rally. Change-Id: I5939c9e1cb93209057c34c9617d0c03512ebb52f
This commit is contained in:
parent
3adc20096e
commit
fa7b5b0407
@ -423,7 +423,7 @@ __EOF__
|
||||
"$PYTHON" "$VIRTUALENV_DST" $VERBOSE --no-setuptools --no-pip --no-wheel \
|
||||
-p "$PYTHON" "$DESTDIR"
|
||||
|
||||
cd "${DESTDIR}" && . bin/activate
|
||||
. "$DESTDIR/bin/activate"
|
||||
|
||||
download - https://bootstrap.pypa.io/get-pip.py | python -\
|
||||
|| die $EX_PROTOCOL \
|
||||
|
Loading…
x
Reference in New Issue
Block a user