Do commit code which is actually using virtualenv

This commit is contained in:
Foo 2017-12-02 23:16:17 +03:00
parent 9d836d70e0
commit f507a6370a
1 changed files with 7 additions and 0 deletions

View File

@ -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