Skip to content
Snippets Groups Projects
Commit 98741a06 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

$VIRTUALENV_LOC

parent 6aadf168
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ puts-step "Preparing Python interpreter ($PYTHON_VERSION)" ...@@ -142,7 +142,7 @@ puts-step "Preparing Python interpreter ($PYTHON_VERSION)"
puts-step "Creating Virtualenv version $(virtualenv --version)" puts-step "Creating Virtualenv version $(virtualenv --version)"
# Try to create the virtualenv. # Try to create the virtualenv.
OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=venv $VIRTUALENV_LOC 2>&1) OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt='(venv) ' $VIRTUALENV_LOC 2>&1)
# If there's an error, purge and recreate. # If there's an error, purge and recreate.
[ $? -ne 0 ] && { [ $? -ne 0 ] && {
...@@ -150,7 +150,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=ven ...@@ -150,7 +150,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=ven
for dir in $VIRTUALENV_DIRS; do for dir in $VIRTUALENV_DIRS; do
rm -fr $dir &> /dev/null || true rm -fr $dir &> /dev/null || true
done done
OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=venv $VIRTUALENV_LOC ) OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt='(venv) ' $VIRTUALENV_LOC )
} }
echo "$OUT" | indent echo "$OUT" | indent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment