mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 00:34:49 +02:00
Do commit code which is actually using virtualenv
This commit is contained in:
parent
9d836d70e0
commit
f507a6370a
@ -5,6 +5,13 @@ set +x
|
||||
: ${USER:=`id -un`}
|
||||
: ${HOME:=`getent passwd $USER | cut -d: -f6`}
|
||||
|
||||
if test -n "$USE_UCS2_PYTHON" && test -n "$BASH_VERSION" ; then
|
||||
set +e
|
||||
. virtualenvwrapper.sh
|
||||
workon cpython-ucs2-$UCS2_PYTHON_VARIANT
|
||||
set -e
|
||||
fi
|
||||
|
||||
export USER HOME
|
||||
|
||||
if test -z "$FAILED" ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user