Skip to content

Commit b21fdda

Browse files
committed
error out if required utilities aren't installed
1 parent 867fe2f commit b21fdda

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/build_test_env.sh

+9
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ case $PY_VER in
3939
*) fatal "Wrong python version (2 or 3)";;
4040
esac
4141

42+
for req in \
43+
curl \
44+
docker \
45+
"${VENV_CMD}" \
46+
;
47+
do
48+
command -v "${req}" >/dev/null 2>&1 || fatal "${req} is required"
49+
done
50+
4251
VENV=$(pwd)/.venv
4352

4453
cleanup() {

0 commit comments

Comments
 (0)