Bug 943240 - Pin virtualenv version, r=m1, DONTBUILD because NPOTB

This commit is contained in:
Jonathan Griffin 2013-11-26 16:37:09 -08:00
parent d265676d31
commit e1c3937d4f

View File

@ -11,13 +11,15 @@ then
exit 1
fi
VIRTUAL_ENV_VERSION="49f40128a9ca3824ebf253eca408596e135cf893"
# Check if environment exists, if not, create a virtualenv:
if [ -d "marionette_auto_venv" ]
then
cd marionette_auto_venv
. bin/activate
else
curl https://raw.github.com/pypa/virtualenv/develop/virtualenv.py | ${PYTHON} - marionette_auto_venv
curl https://raw.github.com/pypa/virtualenv/${VIRTUAL_ENV_VERSION}/virtualenv.py | ${PYTHON} - marionette_auto_venv
cd marionette_auto_venv
. bin/activate