tobiko/tools/install-bindeps.sh
Federico Ressi f530416164 Add tool to install bindeps
Change-Id: I1d6152924cffa168ad3199cf97506ac597257e45
2020-06-15 16:44:27 +02:00

11 lines
188 B
Bash
Executable File

#!/bin/sh
set -ex
INSTALL_PACKAGE=$(which yum || which apt)
if ! tox -e bindep ; then
.tox/bindep/bin/bindep -b | xargs -r "${INSTALL_PACKAGE}" install -y
.tox/bindep/bin/bindep
fi