Check if we built the venv correctly
A simple check for venv creation. Partial fix bug: 1263840 Change-Id: Ic585cd97a53871df1058a99b0d3db5ff553342f4
This commit is contained in:
parent
49cf70e748
commit
16028a9543
@ -142,6 +142,12 @@ mkvirtualenv $1
|
||||
toggleglobalsitepackages
|
||||
export PYTHONPATH=$PYTHONPATH:$3
|
||||
|
||||
if [ ! -e $VENV_PATH ]
|
||||
then
|
||||
echo "Error: making the virtual env failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# zuul puts us in a headless mode, lets check it out into a working branch
|
||||
git branch -D working 2> /dev/null
|
||||
git checkout -b working
|
||||
|
Loading…
x
Reference in New Issue
Block a user