Fix VENV temporary path
Remove wrong setup of temporary path. mktemp creates the directory in /tmp, so no need to add current directory to it. Change-Id: Ie8e9ed90d1bb038a877ff9caf6d2d339f04766f0
This commit is contained in:
parent
32513aec4f
commit
ffbf1c1e58
@ -54,8 +54,6 @@ function setup_venv {
|
||||
# Note that this directory needs to be outside of the source tree,
|
||||
# some other functions will fail if it's inside.
|
||||
VENV=$(mktemp -d)
|
||||
# Create absolute path here, we might change directories later.
|
||||
VENV="$(pwd)/$VENV"
|
||||
trap "rm -rf $VENV" EXIT
|
||||
virtualenv $VENV
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user