mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 943240 - Pin virtualenv version, r=m1, DONTBUILD because NPOTB
This commit is contained in:
parent
d265676d31
commit
e1c3937d4f
4
testing/marionette/client/marionette/venv_automation.sh
Normal file → Executable file
4
testing/marionette/client/marionette/venv_automation.sh
Normal file → Executable 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user