testing: make create-virtualenv usable as a standalone script (bug 1357201); r?glob draft
authorGregory Szorc <gps@mozilla.com>
Mon, 17 Apr 2017 14:29:39 -0700
changeset 10791 06900fb2832bc0f9bc116829ebc03415d20c4020
parent 10790 cf3303ae4f5fe4604810fa46e80174f12a0ad6dc
child 10792 a64d7828d434cab66752e22d93f30a8ce0767e17
child 10808 aba2bee21d766213bfa4747ec855f09174bc6513
push id1627
push userbmo:gps@mozilla.com
push dateMon, 17 Apr 2017 22:38:11 +0000
reviewersglob
bugs1357201
testing: make create-virtualenv usable as a standalone script (bug 1357201); r?glob In preparation of introducing multiple virtualenvs, this commit makes the create-virtualenv script executable and adds a shebang so it can be used as a standalone script. MozReview-Commit-ID: ACnL48Jg0dI
testing/create-virtualenv
old mode 100644
new mode 100755
--- a/testing/create-virtualenv
+++ b/testing/create-virtualenv
@@ -1,8 +1,10 @@
+#!/usr/bin/env bash
+
 mkdir ${VENV}
 
 # Securely download virtualenv, setuptools, and pip.
 ${ROOT}/scripts/download-verify https://s3-us-west-2.amazonaws.com/moz-packages/virtualenv-15.1.0.tar.gz \
     ${VENV}/virtualenv-15.1.0.tar.gz \
     02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a && \
   cd ${VENV} && tar -xzf virtualenv-15.1.0.tar.gz && \
   rm -f ${VENV}/virtualenv-15.1.0/virtualenv_support/setuptools-28.8.0-py2.py3-none-any.whl \