Merge "Fix bindeps installation on CentOS"
This commit is contained in:
commit
fc7038097d
@ -4,8 +4,9 @@ set -ex
|
||||
|
||||
INSTALL_PACKAGE=$(which yum || which apt)
|
||||
SUDO=$(which sudo || true)
|
||||
TOX="python3 -m tox"
|
||||
|
||||
if ! tox -e bindep ; then
|
||||
if ! ${TOX} -e bindep ; then
|
||||
.tox/bindep/bin/bindep -b | xargs -r ${SUDO} "${INSTALL_PACKAGE}" install -y
|
||||
.tox/bindep/bin/bindep
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user