remove sudo from pip and virtualenv calls

Change-Id: I2f8ea4260c82d8623c74b8ac6355d9eb5f6698e9
This commit is contained in:
Matthew Thode 2018-09-10 18:11:19 -05:00
parent 06891dd257
commit 997486eff6
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8
2 changed files with 4 additions and 7 deletions

View File

@ -22,5 +22,5 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
fi
set -e
sudo -H virtualenv /usr/bindep-env
sudo -H /usr/bindep-env/bin/pip install bindep
virtualenv /usr/bindep-env
/usr/bindep-env/bin/pip install bindep

View File

@ -18,8 +18,5 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
fi
set -e
# Create a virtualenv for os-testr (which contains subunit2html)
# This is in /usr instead of /usr/local due to this bug on precise:
# https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/839588
sudo -H virtualenv /usr/os-testr-env
sudo -H /usr/os-testr-env/bin/pip install os-testr
virtualenv /usr/os-testr-env
/usr/os-testr-env/bin/pip install os-testr