Skip to content

Commit

Permalink
error out if required utilities aren't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
rhansen committed Jan 31, 2016
1 parent 867fe2f commit b21fdda
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/build_test_env.sh
Expand Up @@ -39,6 +39,15 @@ case $PY_VER in
*) fatal "Wrong python version (2 or 3)";;
esac

for req in \
curl \
docker \
"${VENV_CMD}" \
;
do
command -v "${req}" >/dev/null 2>&1 || fatal "${req} is required"
done

VENV=$(pwd)/.venv

cleanup() {
Expand Down

0 comments on commit b21fdda

Please sign in to comment.