remove sudo from pip and virtualenv calls
Change-Id: I2f8ea4260c82d8623c74b8ac6355d9eb5f6698e9
This commit is contained in:
parent
06891dd257
commit
997486eff6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user